*nix development
Moderator: Moderators
*nix development
I've used Visual Studio mainly for the last few year, but if I want to build and modify Spring, what do the current devs use in terms of editors and IDEs? ( note an ubuntu context )
Re: *nix development
There's nothing like Visual Studio outside of Windows.
That said, there are still decent tools, and it boils down to what you want.
The most popular free IDEs for C++ are probably Eclipse and CodeBlocks.
However, people often just use their favorite text editors like gedit, kate, vim, emacs.
My suggestion: don't waste your time trying to set up IDEs and code completion and just use a text editor.
For building stuff you should probably use the CLI regardless of your IDE/editor preference. Linux has the best terminals and the build instructions usually always include CLI commands.
That said, there are still decent tools, and it boils down to what you want.
The most popular free IDEs for C++ are probably Eclipse and CodeBlocks.
However, people often just use their favorite text editors like gedit, kate, vim, emacs.
My suggestion: don't waste your time trying to set up IDEs and code completion and just use a text editor.
For building stuff you should probably use the CLI regardless of your IDE/editor preference. Linux has the best terminals and the build instructions usually always include CLI commands.
Re: *nix development
Qt Creator is excellent.
Re: *nix development
Not sure I qualify as a current dev, but I alternate between VS10 and 8. Version 8 has more bugs for sure. On *nix I use vim editor, which is a step down I must say.
Re: *nix development
Well something that can give me a view of a project I have with Sublime text, I'd like code completion though and I'm not sure how well that will work out. I'm happy to use command line to build
Re: *nix development
i agree with gajop.
i tried eclipse, netbeans, code:blocks, kdevelop and qtcreator as full blown IDEs for C++ under linux. i liked qtcreator the most, but i only used it for small, CMake based uni projects, cause for spring, everything failed at some point, and i went back to vim and gedit, which i used most of the time, plus command line for building.
i did not use VS often, but i am used to have a nice, well working IDE from Java development, and i would never change it for vim or gedit there, but in linux C++, there is seems to be just nothing that works well enough.
i tried eclipse, netbeans, code:blocks, kdevelop and qtcreator as full blown IDEs for C++ under linux. i liked qtcreator the most, but i only used it for small, CMake based uni projects, cause for spring, everything failed at some point, and i went back to vim and gedit, which i used most of the time, plus command line for building.
i did not use VS often, but i am used to have a nice, well working IDE from Java development, and i would never change it for vim or gedit there, but in linux C++, there is seems to be just nothing that works well enough.
Re: *nix development
mostly vim & ninja(-build). sometimes gedit & codeblocks. newer versions of codeblocks become useable. functions i use often is "Find declaration|implementation|references of.." and autocomplete. what i like on codeblocks its lightweigt.. what sucks, is that current version (12.11) still crashes sometimes, but mostly on exit.
also i guess you are limited to these IDEs on unix:
codeblocks worked out of the box for me when used with unix makefiles, with ninja, i had to change some build parameters, but when compiling ninja is a big time-safer!
for debugging i always used console gdb...
also i guess you are limited to these IDEs on unix:
as anything else won't have a project file.The following generators are available on this platform:
Ninja = Generates build.ninja files (experimental).
Unix Makefiles = Generates standard UNIX makefiles.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.
KDevelop3 = Generates KDevelop 3 project files.
KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.
codeblocks worked out of the box for me when used with unix makefiles, with ninja, i had to change some build parameters, but when compiling ninja is a big time-safer!
for debugging i always used console gdb...
Re: *nix development
QTCreator works well too. you just tell it to open the CMakeLists.txt file in the open/import project dialog, and it works well. i could imagine that other IDEs (not in the above list) might work the same way, probably by creating the "Unix Makefiles" generator.
-
- Posts: 451
- Joined: 03 Jul 2011, 11:54
Re: *nix development
+1 for Qt creator.det wrote:Qt Creator is excellent.