threads / discuss / 45133

Developing git with IDE

Subject: Developing git with IDE

## tl;dr

2 messages between Feb 13, 2017 and Feb 14, 2017.

replies: 1people: 2as markdown or json

Oleg Taranenko· Feb 13, 2017, 23:15 UTC · lore
Hi *,

being last decade working with java & javascript I completely lost relation to c/c++ world. Trying to get into git internals I'm facing with issue what IDE is more suitable for developing git @ macos ?

Have googled, but any my search queries following to non-relevant themes, like supporting git in IDEs etc.

my first attempt - CLion (as far as I'm Jetbrains fan) - got failed, as far as doesn't support makefile-based projects, only CMake.

There are a number of free C/C++ dev tools: Xcode, CodeBlocks, CodeLite. Gnat, Qt creator, Dev C++, C++ Builder (Borland? :), Eclipse, NetBeans... what else?

Because of lack my modern C experience, could somebody share his own attempts/thoughts/use cases how more convenient dive into the git development process on the Mac?

Tried to find in the git distribution Documentation more information about this, nothing as well... Would be nice to have a kind of 'Getting Started Manual'

Thanks for your time,
Oleg Taranenko
Jeff King· Feb 14, 2017, 06:22 UTC · re: Oleg Taranenko · lore

Re: Developing git with IDE

On Tue, Feb 14, 2017 at 12:15:00AM +0100, Oleg Taranenko wrote:
Show 17 quoted lines
> being last decade working with java & javascript I completely lost
> relation to c/c++ world. Trying to get into git internals I'm facing
> with issue what IDE is more suitable for developing git @ macos ?
> 
> Have googled, but any my search queries following to non-relevant
> themes, like supporting git in IDEs etc.
> 
> my first attempt - CLion (as far as I'm Jetbrains fan) - got failed,
> as far as doesn't support makefile-based projects, only CMake.
> 
> There are a number of free C/C++ dev tools: Xcode, CodeBlocks,
> CodeLite. Gnat, Qt creator, Dev C++, C++ Builder (Borland? :),
> Eclipse, NetBeans... what else?
> 
> Because of  lack my modern C experience, could somebody share his own
> attempts/thoughts/use cases how more convenient dive into the git
> development process on the Mac?

I think most people just use a good editor (emacs or vim), and no IDE. I do recommend using ctags or similar (and there is a "make tags" target to build the tags) to help with jumping between functions.

> Tried to find in the git distribution Documentation more information
> about this, nothing as well...  Would be nice to have a kind of
> 'Getting Started Manual'

There is Documentation/CodingGuidelines, but that's mostly about how to _write_ code, not read it. Some protocols and subsystems are covered in Documentation/technical. If you want a "big picture", I think you'd do best to read something like:

  https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain

That talks about the system as a whole, not the code, but the layout of the code follows the overall system design (e.g., the entry point for the "log" command is cmd_log(), and you can see which subsystems it uses from there).

-Peff

← back to recent threads