Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Programming editor on Linux

  • 13-11-2009 11:33am
    #1
    Registered Users, Registered Users 2 Posts: 590 ✭✭✭


    Not sure if this should be here or in the Programming forum but thought I'd get more responses here; please move if appropriate.

    I've moved my work laptop over to solely Linux and it's working pretty well so far. My main issue is the lack of (or at least I haven't seen it) a decent programming editor. I used to use Notepad++ (mostly Javascript work these days) and it had a lot of useful features. The closest I've seen in Linux is Scite, but it's not quite as good imo.

    Any suggestions for good alternatives to Notepad++? Preferably something that works well with Javascript, Java, C++ and Python.

    Cheers.


Comments

  • Registered Users, Registered Users 2 Posts: 1,110 ✭✭✭Skrynesaver


    Eclipse seems the obvious choice, more IDE than editor, ocasionally use it for large projects otherwise I tend to stick to vim, syntax highlighting, auto indentation, folding, etc... all present and it's present everywhere


  • Moderators, Technology & Internet Moderators Posts: 1,336 Mod ✭✭✭✭croo


    I mostly use eclipse too... but for small editing tasks I use jedit. It's got alot of plugins available that can extend it to most jobs.


  • Registered Users, Registered Users 2 Posts: 1,183 ✭✭✭dioltas




  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    Vim is probably the best editor out there if you are
    willing to learn a bit about it. Otherwise Bluefish or Gedit.


  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    VIM!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    +1 for vim

    Some useful settings here: http://diabolicalorsmart.com/tech/my-vimrc-file/


  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    I'd like to mention that you shouldn't be put off by vim's apparent complexity. It's not hard, just different. And once you've gotten over the learning curve, you'll never want to go back.


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Thanks for all the suggestions lads. I've been putting off learning vim for a long time now but maybe I should give it a right go. It does seem very hard core. Don't know how I'll manage without my mouse :) .

    Does it do autocomplete and good syntax highlighting for the languages I mentioned above?


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    There's emacs as well, pretty standard on all GNU/Linux installs.


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    bman wrote: »
    Thanks for all the suggestions lads. I've been putting off learning vim for a long time now but maybe I should give it a right go. It does seem very hard core. Don't know how I'll manage without my mouse :) .

    Does it do autocomplete and good syntax highlighting for the languages I mentioned above?

    Gvim has full mouse support. It should work well in a GUI enviroment.
    'Vimtutor' should get you up to scratch in a short space of time.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    vim me bollix. Eclipise is ok but a total memory hog.


  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    bman wrote: »
    Thanks for all the suggestions lads. I've been putting off learning vim for a long time now but maybe I should give it a right go. It does seem very hard core. Don't know how I'll manage without my mouse :) .

    Does it do autocomplete and good syntax highlighting for the languages I mentioned above?

    I don't believe it does autocomplete out of the box, but I might be wrong, since I never had reason to find out (not a fan of autocomplete)

    The thing about vim, is that its easily extendable with scripts - check this tutorial out:

    http://www.techrecipes.net/linux/enable-vim-auto-complete.html

    Dave


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    Khannie wrote: »
    vim me bollix. Eclipise is ok but a total memory hog.

    :D
    NetBeans isn't bad either. Haven't tried it out in a while though.


  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    Khannie wrote: »
    vim me bollix.
    n00b

    :p


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Get out of it you. :p


  • Registered Users, Registered Users 2 Posts: 2,534 ✭✭✭FruitLover


    Khannie wrote: »
    vim me bollix.

    I'll see your "vim me bollix" and raise '"vim me bollix" me bollix'.


  • Registered Users, Registered Users 2 Posts: 1,183 ✭✭✭dioltas


    :wq :pac:


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    dioltas wrote: »
    :wq :pac:

    :ZZ:pac::pac:

    2784420693_913239d70a_o.gif


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    I've been trying out (g)vim for the past two days and I'm getting the hang of it (slowly :o ). I had used it before and knew the basics but and now getting to grips with more advanced features.

    Not sure I see the benefit of gvim over vim tbh; in fact I actually rather vim from a terminal because I can still right click and copy / paste, whereas in gvim this doesn't seem to be possible.

    I'll give it 2 weeks and see if I feel it's worth sticking with rather than the more common GUI orientated editor.

    Thanks again for all the suggestions.


  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    bman wrote: »
    I've been trying out (g)vim for the past two days and I'm getting the hang of it (slowly :o ). I had used it before and knew the basics but and now getting to grips with more advanced features.

    Not sure I see the benefit of gvim over vim tbh; in fact I actually rather vim from a terminal because I can still right click and copy / paste, whereas in gvim this doesn't seem to be possible.

    I'll give it 2 weeks and see if I feel it's worth sticking with rather than the more common GUI orientated editor.

    Thanks again for all the suggestions.

    Only advantage I know of for gvim is that it works on our windows servers :-)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    If vim brings you out in a rash, you can put some cream on it.


  • Registered Users, Registered Users 2 Posts: 13,077 ✭✭✭✭bnt


    I quite like SciTE for Python, though I'm not exactly a heavy user. :o

    demo.png

    You are the type of what the age is searching for, and what it is afraid it has found. I am so glad that you have never done anything, never carved a statue, or painted a picture, or produced anything outside of yourself! Life has been your art. You have set yourself to music. Your days are your sonnets.

    ―Oscar Wilde predicting Social Media, in The Picture of Dorian Gray



  • Registered Users, Registered Users 2 Posts: 849 ✭✭✭petronius


    Eclipse if it is a large project and you want the full power of an IDE

    Or Vim as an editor (just takes time get the handle of commands and modes and hittin escape all the time)
    the gui version with colored text for the languages is easy to work with


  • Registered Users, Registered Users 2 Posts: 1,183 ✭✭✭dioltas


    The handy thing about vim imo, is you can open a text file edit it, and save it in about 2 seconds like. For quick changes it's unreal, vim /etc/whatever, quick edit, :wq, done.

    Compared to menu, applications, text editor, a second for it to open, file, open, browse, browse, quick edit, file, save, quit...

    Just my opinion! :)


  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    In fairness...

    Double click text file, quick edit, Ctrl+s, Alt+F4.


  • Closed Accounts Posts: 4,564 ✭✭✭Naikon


    In fairness...

    Double click text file, quick edit, Ctrl+s, Alt+F4.

    The vi method is closer to the home row though.

    I am addicted to vim to the point where I refuse to use any other
    editor for serious work. I even use Gvim on Winboxen.


Advertisement