been using Geany under Ubuntu since I started studying Business Informatics. Now being in the second semester our classes changed from C to C++ and I found that Geany isn't so good for C++ because it lacks a decent auto-completion (e.g. member functions of STL are not shown).
Does anyone know a light IDE with decent auto completion?
Name:
Anonymous2012-04-23 15:26
codeblocks, or devcpp
I was looking for the exact opposite thing you did, thanks.
Name:
Anonymous2012-04-23 15:27
Save for how much autocompletion sucks, even in its absolute best implementation (MS IntelliSense), no, I don't think there's a single C++ IDE with any sort of half-way decent auto completion.
What you SHOULD do as a programmer is read the documentation
>>19-21
Linux isn't retarded, but VS is what most professionals use. Most professionals are actually retarded, though, in a loose sense of the word "retarded." Their intellectual growth has been "retarded" or "obstructed" by being forced to develop for the most popular platform. If you're lucky enough to have the freedom to choose any target OS and development platform, then use Linux and emacs and enjoy your simplified life.
Emacs Gnus do their best now and are preparing.
Please watch warmly until it is ready.
Name:
Anonymous2012-04-26 12:38
editors are overrated. punched cards ftw!
Name:
Anonymous2012-04-26 18:10
I use vim (minimally configured), my terminal emulator, coreutils, and a tiling WM to do everything. No graphical file manager, no IDE autocomplete, etc.
Is it the most efficient way to work? No.
Do I find myself wishing I had a decent C/Lua autocompleter for Vim? Yes, and I'm sure there already are a few.
Could I eliminate most of my switches from Vim to terminal emulators if I studied Vim commands just a little bit more? Probably.
What I do get with this setup is an incredibly simple working environment that never gets in my way, even if it often refuses to lend a helping hand.
Codeblocks is pretty awful now. It's better than most of the others, but the feature-creep has really crippled it.
I've recently just been using Qt Creator, with handwritten makefiles (which you should be writing on your own anyway.
Plus, Qt Creator's fakeVIM is fucking bliss.
>>40
I feel like punching you for using GNOME 3, but thanks for the vimrc.
And >>1-san, the best IDE is vim + your bloated config file + gcc/clang/#54-obscure-non-harmful-compiler.
Name:
Anonymous2012-04-29 5:43
Autocompletion is cute and all, but what about jumping to variable/function declarations/implementations? What vim plugin do I use for that? Also, any good plugin for searching? (fuck grep) Say maybe I want to see all occurrences of "myFuckingMethod" in all the files in my project, and then also be able to jump to the results easily.
vim's interface to regex is fast as fuck once you are good with it. And it blends well with the q key sequence macro command. I use vim to edit hundreds of buffers concurrently, but I don't recommend it that well if you are fine with using a mouse to navigate your recently accessed files. I have a key mapped to :buffers<CR>, which lists all open buffers, and :b n can jump to buffer n, or :b er.y can open scanner.y if the match was unique. Using this and :n line number jumping is sufficient for navigation for me, and I use piped commands of find and grep to look for what I need.
Finding the definition of a function can be difficult because that requires a bit more awareness of the syntax that what you get with find and grep. A complete solution would take some language specific support and I am not aware of a built in feature for this in vim. It wouldn't be that difficult to properly implement. A command line tool could parse a specified set of source files, and construct and keep up to date a small data base of definition locations. The program or server could then be queried with identifiers from certain locations in the project, and it could then print the file and line number of the definition. Then a vim script could handle sending the identfier under the current cursor position to a command invoking the program, and then read the path of file containing the defintion and the line number. The file could then be opened, and then it could jump to the line number. The beauty of this is that you wouldn't have to use vim to take advantage of this feature. Any editor that supports automated shell commands and some kind of interface to variables like text under the cursor can do it. I would be surprised if an open source implementation of this didn't already exist by now. But I haven't had enough of a need for it to look yet.
although you'd have to account for macros affecting what gets defined where, and what gets included from where, so it would need to be aware of any -D flags given in the build process...that complicates things a bit.
Name:
Anonymous2012-04-29 7:01
>>52
Yeah that sounds awesome I suppose, but since I don't have time to do any of that, I would really just like a plugin or something that achieves the same goal (however it does so)..
Name:
Anonymous2012-04-29 7:13
>what about jumping to variable/function declarations/implementations? What vim plugin do I use for that?