Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Linux C/C++ IDE

Name: Anonymous 2012-04-23 15:23

Good evening,

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: Anonymous 2012-04-26 20:06

>>40
Very nice, but what key do you use for tabulation?

Name: Anonymous 2012-04-26 20:28

>>41
tab also; anyway vim have autoindent but sometimes I need to indent thing like glBegin..

Name: Anonymous 2012-04-26 21:43

>>40
You should know by now that we can't take haters seriously if they don't have decent arguments to support them.

Name: Anonymous 2012-04-26 21:51

>>39
Ramblings of an autist

Name: Anonymous 2012-04-26 22:40

vim is shit. Kate4

Name: Anonymous 2012-04-27 14:24

>>45
what about vim mode for kate4

Name: Anonymous 2012-04-27 21:44

It's called gedit.

Name: Anonymous 2012-04-28 2:41

>>46
I don't use it.  Obviously.

Name: Anonymous 2012-04-28 20:33

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.

Name: Anonymous 2012-04-28 20:43

>>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: Anonymous 2012-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.

Name: Anonymous 2012-04-29 6:05

>>51

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.

Name: >>52 2012-04-29 6:38

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: Anonymous 2012-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: Anonymous 2012-04-29 7:13

>what about jumping to variable/function declarations/implementations? What vim plugin do I use for that?

ctags. works with emacs as well.

http://stackoverflow.com/questions/563616/vim-and-ctags-tips-and-tricks

Name: Anonymous 2012-04-29 18:04

>>21
professional C++ developers
Might as well use Netbeans, ``faggot".

Name: Anonymous 2012-04-29 21:46

>>56
implying

Name: bampu pantsu 2012-05-29 4:35

bampu pantsu

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List