Thread: Programming editor for Linux

  1. #1
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629

    Programming editor for Linux

    Hi, does anyone where I can get a good editor for programming in linux and works with assembler as well?
    i hate geany and gedit, i am not geek enough to say I like vi. Something that highlights syntax like notepad++ and easy to install..
    I am new using Unix. Thanks.
    You ended that sentence with a preposition...Bastard!

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    There are people who use emacs. I try not to think about those types of people, but they exist.

    I always liked pico (and now nano) as a generic text editor, but I never tried to use it to program.

    I have heard of SciTE but never used it.

    And assuming you are on a system with a package manager, pretty much anything is easy to install, right? In fact you could probably just open your package manager, go to the category "editors" and browse.

  3. #3
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by Eman View Post
    Hi, does anyone where I can get a good editor for programming in linux and works with assembler as well?
    i hate geany and gedit, i am not geek enough to say I like vi.
    you can try emacs - it is highly customizable...

    For C/C++ I prefer CodeBlocks as it is full-featered IDE not only editor
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  4. #4
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    nano doesn't highlight keywords?
    ok I will look for some tutorial on how to install emacs, hopefully it won't be as bad as jedit. I tried installing jedit, but I gave up. It just refused to work for me. I am that bad at Unix.
    You ended that sentence with a preposition...Bastard!

  5. #5
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by Eman View Post
    nano doesn't highlight keywords?
    ok I will look for some tutorial on how to install emacs, hopefully it won't be as bad as jedit. I tried installing jedit, but I gave up. It just refused to work for me. I am that bad at Unix.
    Nano does do highlighting if you've got the .nanorc files set up. I don't, but you can get them online.

    You might already have emacs installed -- type "which emacs" at a prompt and if it gives you a pathname you're good to go. Otherwise: what system are you on? Do you really need to install things yourself?

    (EDIT: Didn't take too long to get colors set up. And it has an .asm color scheme too. Probably won't replace vim for me, though:
    Last edited by tabstop; 12-31-2010 at 02:31 PM.

  6. #6
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    oh wow. That looks cool!
    I am using debian through virtual box.
    I will go try that now.
    But how would I start using it?
    There is no gui icon?
    EDIT:
    crap!!
    No filepath, nothing happened.
    You ended that sentence with a preposition...Bastard!

  7. #7
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Open up a terminal, type "nano". If you're looking for an icon to double-click, You're Doing It Wrong.

    And debian has a package manager, right? aptitude? You should be using that to install packages.

  8. #8
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    Quote Originally Posted by tabstop View Post
    Open up a terminal, type "nano". If you're looking for an icon to double-click, You're Doing It Wrong.

    And debian has a package manager, right? aptitude? You should be using that to install packages.
    yeah i just did a "sudo apt-get emacs21" and it is still installing.
    ok I will check for nano now

    EDIT:

    yeah there is nano!
    Is it really possible to use colors with it? It reminds me of notepad
    You ended that sentence with a preposition...Bastard!

  9. #9
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by Eman View Post

    yeah there is nano!
    Is it really possible to use colors with it? It reminds me of notepad
    You'll probably have to set up your .nanorc configuration file, as in Nano – Shortcuts, syntax highlight and .nanorc config file – pt2 « The GNU of Life, the Universe and Everything (also I don't think it knows indentation rules).

    emacs may take a little bit of setting up too (I don't recall how much of that is automatically there and how much you have to set up yourself).

  10. #10
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    the emacs21 has finished installing and i just can't use it.
    It says enter your directory
    it won't got past "cd" i tried "cd Home" the name of the folder, but it won't work. I have to quickly log out on this and log on using the vbox so I can paste the screenshot
    You ended that sentence with a preposition...Bastard!

  11. #11
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Not sure what you're trying to do, but "cd" is not part of the directory name. "cd" is the command to change directories (just like on dos, or pretty much anywhere really).

  12. #12
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    Attached is the image for emacs21
    You ended that sentence with a preposition...Bastard!

  13. #13
    The Dragon Reborn
    Join Date
    Nov 2009
    Location
    Dublin, Ireland
    Posts
    629
    Hopefully that uploaded
    how do i choose how to open the directory. just typing "Home" did not work.
    That is where all my files are.
    You ended that sentence with a preposition...Bastard!

  14. #14
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    There's no way your files are in /home -- that's not a writable directory. They are more than likely in ~ (that's your personal home directory, not to be confused with /home, and should actually be /home/<loginname>). And that's the directory emacs is expecting to be in, so just do control-x control-f, type in a file name (if you want to be paranoid type ~/filename), and hit enter.

  15. #15
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I always liked pico (and now nano) as a generic text editor, but I never tried to use it to program.
    O_o

    YES!

    What? Nano needs love too.

    Soma

Popular pages Recent additions subscribe to a feed