LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GUI text editor for C++ (http://www.linuxquestions.org/questions/linux-newbie-8/gui-text-editor-for-c-137201/)

bitessy 01-21-2004 04:28 PM

GUI text editor for C++
 
Hi everyone!! I am in need of advice. I am learning C++ in school now, and am looking for a good GUI text editor to use when I write my source code. I have been using Kwrite so far, and it is ok, but I am looking for something that will highlight keywords somehow (maybe with colors or bolding or something like that) and will check to see if I have my entire parenthesis. Can anyone suggest one?

I have tried emacs and vi already, and they are both great for the CLI, but I want GUI.

Thanks in advance for your assistance

Tessy
bitessy@yahoo.com
:confused: :newbie:

Mega Man X 01-21-2004 04:33 PM

Hi there bitessy!

Try Kdevelop:

http://www.kdevelop.org/

which is probably shipped with your Mandrake CD's or anjuta:

http://anjuta.sourceforge.net/

They are more like an IDE then a Gui editor. I don't know if you've tried mcedit (it's the editor which comes with Midnight Commander). It's cli, but runs nice under gui.

ehawk 01-21-2004 04:49 PM

emacs, xemacs, vim
 
These are about the most capable text editors around. All of them come with syntax highlighting. Jed is another one, it is like emacs-light. I find xemacs to be the easiest to use, but there is alot of debate in these matters. They should also flash to the opening parenthesis that matches the closing one you just entered.

mikshaw 01-21-2004 07:51 PM

Don't forget Bluefish! glub glub!

pH* 01-21-2004 10:44 PM

bitessy: Hey, I'm doing the C++ in school too, and not that I have too much experience in the matter, I think probably learning to be proficient in vi or emacs is the best way to go. There's got to be something to say for the fact that these two tools have been around alot longer than the other gui editors, yet they still have their zealous adherents. But... learning them well enough to be comfortable while taking a lot of classes might not be what you're looking for right now, and I can empathize.

You say you're using Kwrite, and that you'd like an editor that will color code text for you and show you you're parens, brackets, etc. Kwrite does this... just make sure that when you start a new file, if you're writing in c++, name the file first to set the language standards the prog will follow, then start writing. (ex. open Kwrite, save the file first to helloWorld.cpp, then start typing your code -- all your text highlighting and bracket-matching will be there.)

I would only suggest maybe using Kate as opposed to Kwrite because of its "embedded" (probably not the right term to use) terminal, so you can code, and compile through the terminal without need to leave the program area. Maybe Kwrite has this too, I don't recall seeing it though.

ronware 01-21-2004 10:49 PM

Re: GUI text editor for C++
 
Quote:

Originally posted by bitessy
Hi everyone!! I am in need of advice. I am learning C++ in school now, and am looking for a good GUI text editor to use when I write my source code. I have been using Kwrite so far, and it is ok, but I am looking for something that will highlight keywords somehow (maybe with colors or bolding or something like that) and will check to see if I have my entire parenthesis. Can anyone suggest one?

I have tried emacs and vi already, and they are both great for the CLI, but I want GUI.

Hi, Tessy -

Use 'gvim', which is the gui version of vim. It's almost certainly on your system, as it's installed by the major distros by default. And it's small and fast.

Enjoy the learning,
Ron

bitessy 01-22-2004 10:42 PM

Thank You!!!
 
A big THANK YOU to everyone who posted a reply to my request for advice. I have looked in to, and even used, the editors from all of the suggestions that I was given, and have discovered that I like Kate the most so far, with Xemacs a close second. Furthermore, i have been using VI and emacs on the CLI, and I think I like VI the best of the two. Again, Thanks for all the suggestions.

Tessy
bitessy@yahoo.com

UltimaGuy 01-23-2004 03:22 AM

Glad to see that you have found an solution, though I would have been happy if you had preferred emacs.


All times are GMT -5. The time now is 08:27 AM.