CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    May 2008
    Posts
    15

    Linux Text Editor(s)!

    I know this is probably a strange question to ask, especially considering that any text editor is viable, but I'm wondering what is the choice for text editor of most programmers running on a Linux machine.

    I'm currently using Fedora8, and I'm new to Linux/Fedora 8. I've been using 'gedit', which comes with the install. I've seen people using editors that run out of the terminal window, and they write/edit their code inside the terminal window.

    I'm wondering what everyone else is using, and what I should probably be using too (I'm currently trying to learn C). Ok thanks guys.

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: Linux Text Editor(s)!

    I can't say I have a lot of linux ppl around me but those I know all have emacs as their favourite.

  3. #3
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,765

    Re: Linux Text Editor(s)!

    If S_M_A knew more Linux people, perhaps some vi users would have that as their favourite (Vim seems rather popular among the vi variants). And then there are a whole host of other somewhat less popular text editors, plus IDEs like Anjuta, Code::Blocks, KDevelop, etc.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: Linux Text Editor(s)!

    I never did get used to EMACS. I use gvim, the graphical version of VIM.

    Viggy

  5. #5
    Join Date
    Mar 2007
    Location
    Montreal, Quebec, Canada
    Posts
    185

    Re: Linux Text Editor(s)!

    If you're new to Linux, or don't feel like spending hours learning how to use the text editor, don't go with vi/vim or emacs. These editors are very powerful, but take a long time to learn.

    If you want to use a console based one, go with nano or pico.

    For a GUI app, I use kate.

    If you're just starting out in C, I'd recommend using an IDE so that you don't have to worry about makefiles or using the command line compiler. Code::Blocks is a good one, KDevelop is pretty good but can be a pain sometimes. Netbeans is another good one.

  6. #6
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588

    Re: Linux Text Editor(s)!

    On linux, I tend to use emacs or KDevelop depending on the projet, but Code::Blocks is pretty nice too.
    Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
    Supports C++ and VB out of the box, but can be configured for other languages.

  7. #7
    Join Date
    Mar 2004
    Location
    Temuco, CHILE
    Posts
    161

    Re: Linux Text Editor(s)!

    When working in projects or with a large amount of files, I always go Code::Blocks, it hasn't failed me once and is very comfortable to use. Kate, gedit and all those "desktop branded" editors are good, but as they come with the weight of their desktop environment, I've left them aside for something nicer and cleaner such as NEdit, which comes with an interesting system for syntax highlightning and marco programming.
    You're not watching "24"?
    Well... you should.

    24
    Jack IS back...

  8. #8
    Join Date
    May 2007
    Posts
    811

    Re: Linux Text Editor(s)!

    I use SlickEdit since it's cross platform and looks and behaves almost the same way on Windows and Linux (a big plus in my book).

  9. #9
    Join Date
    May 2008
    Posts
    24

    Re: Linux Text Editor(s)!

    Vim!

    Way back when I was in college we had no choice but to learn vi. When I entered the workforce I've found it paid dividends to learn those ropes early on.

    To this day I prefer to use vi/vim even in a Windows environment. It becomes second nature just like typing with a qwerty keyboard layout.

    The reason why I think vim is your best choice for any UNIX development is you are guaranteed that some version of vi will be on any UNIX box.

    -gw

  10. #10
    Join Date
    May 2008
    Posts
    9

    Re: Linux Text Editor(s)!


  11. #11
    Join Date
    Feb 2005
    Location
    "The Capital"
    Posts
    5,306

    Re: Linux Text Editor(s)!

    Windows console with telnet sessions &putty consoles with vi/vim/<sometimes textpad with files on a windows network drive... sorry.. but I do feel very lazy sometimes.. >
    Last edited by exterminator; May 3rd, 2008 at 11:01 PM.

  12. #12
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Linux Text Editor(s)!

    Emacs was what I learned, but if you can get past the steep learning curve of vi, I've seen some people do rather amazing things with it.

  13. #13
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Linux Text Editor(s)!

    When I do something in Linux, I also most of the time use Emacs.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  14. #14
    Join Date
    Jun 2002
    Location
    Germany
    Posts
    1,557

    Re: Linux Text Editor(s)!

    Some developers in my group use the Eclipse IDE for large-scale, cross-platform development. It is powerful for C, C++, python, etc and remains the same across the operating system boundaries. I personally have only used it for a few minor projects. But the guys really like it.

    Sincerely, Chris.
    You're gonna go blind staring into that box all day.

  15. #15
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Linux Text Editor(s)!

    I was under the impression Eclipse was mainly for Java development, and that support for other languages was pretty much an afterthought.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured