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

Pages: 1-4041-

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-23 15:26

codeblocks, or devcpp

I was looking for the exact opposite thing you did, thanks.

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

Name: Anonymous 2012-04-23 15:34

What >>3 said.

You could still check out QtCreator, KDevelop and Eclipse. They're decent, but I still prefer Emacs and a shell.

http://qt.nokia.com/products/developer-tools

Name: Anonymous 2012-04-23 15:46

Thanks for your replies, I think I'll give QtCreater a try.

Name: Anonymous 2012-04-23 15:46

Eclipse is the way to go.

Name: Anonymous 2012-04-23 15:48

vim+clang_complete

Name: Anonymous 2012-04-23 17:01

Linux is a C IDE and you're a moron. Stop trying to reinvent the wheel inside a single application.

Name: Anonymous 2012-04-23 17:04

>>8
What he said.

Name: Anonymous 2012-04-23 18:38

>>8
that is retarded on so many levels

Name: Anonymous 2012-04-23 18:49

QtCreator, do it

Name: Anonymous 2012-04-23 19:26

>>8
Linux is a colonel, silly anonymous.

Name: Anonymous 2012-04-23 19:43

Eclipse isn't lightweight but it does work.

Name: Anonymous 2012-04-23 20:52

>>10
No u.

>>13
Except when it crashes, which is often. Or when it becomes so slow that it's impossible to type, which is all the time.

Name: Anonymous 2012-04-23 22:27

codeblocks, now get out and be a healthy and productive human being

Name: Anonymous 2012-04-24 2:39

>>14
I don't know what you're doing wrong but my two year old Lenovo x100e runs Eclipse whenever I do Clojure.

Name: Anonymous 2012-04-24 4:58

emacs; not technically lightweight and not technically a C++ IDE.
http://cx4a.org/software/gccsense/

Name: Anonymous 2012-04-24 9:47

codelite is worth looking at.
eclipse is shit

Name: Anonymous 2012-04-24 12:20

Linux is retarded.

Visual Studio is what professionals use.

Name: Anonymous 2012-04-24 13:00

>>19
Your troll is weaker than your anus.

Name: Anonymous 2012-04-24 13:14

>>20
Most professional C++ devs use it everyday. Keep thinking your freeshit IDE or glorified notepad is any better, though.

Name: Anonymous 2012-04-24 13:20

gVim

Name: Anonymous 2012-04-24 14:44

Good god, why is this thread still going?

Name: Anonymous 2012-04-24 15:06

>>1
Kate4.

Name: Anonymous 2012-04-24 16:59

>>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.

Name: Anonymous 2012-04-24 18:07

>>25
emacs
oh fuck off

Name: Anonymous 2012-04-24 18:39

>>25
I seriously hope you don't think Emacs is better than VS.

Name: Anonymous 2012-04-24 19:12

>>27
I seriously hope you don't think VS is better than Notepad.exe.

Name: Anonymous 2012-04-24 19:30

autocompletion?

in my days i had to browse a printed used guide and a printed, huge, reference book

Name: Anonymous 2012-04-24 19:31

s/used/user/

Name: Anonymous 2012-04-24 21:58

>>28
I seriously hope you're not using notepad instead of good old edit.com

Name: Anonymous 2012-04-24 22:01

>>29
didn't your generation invent cobol?

Name: Anonymous 2012-04-24 23:02

>>28
Then it follows that even notepad.exe is better than Emacs, since VS is better than Emacs.

Name: Anonymous 2012-04-25 2:31

>>33

>better than Emacs
>VS

pick one.

fail dubs bro.

Name: Anonymous 2012-04-25 2:55

>>33
Yes.

Name: Anonymous 2012-04-25 3:46

>>2-6
>>8-21
>>23-35
You are faggots.

Name: Anonymous 2012-04-25 4:21

Emacs
Gnus do their best now and are preparing.
Please watch warmly until it is ready.

Name: Anonymous 2012-04-26 12:38

editors are overrated. punched cards ftw!

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

Name: Anonymous 2012-04-26 19:50

>>39
I probably will get raped in the ass for posting this on /prog/ but
last year I did this video about Vim and autocomplete http://www.youtube.com/watch?v=vk285Zc5_Zw
The list of plugins I'm currently using and my vimrc can be reached at https://github.com/pera/vim

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

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