Text Editor that supports Code Completion

Discussion in 'Mac Programming' started by Cue, Nov 29, 2006.

  1. Cue macrumors regular

    Joined:
    Mar 10, 2005
    Location:
    Edinburgh, UK
    #1
    Hello there,

    I'm looking for a text editor that offers code completion (Java, Ruby etc), syntax highlighting and code suggestion for markup documents using a dtd or a ns (HTML, XML).

    So far I haven't found one that does it all and none that has great code completion.
    JEdit seems to handle xml markup pretty well through a dtd or a ns though it's not as great with html documents.

    Most editors offer syntax highlighting though code completion seems to be a pain.

    I've tried Aquamacs, TacoHTML, Textwrangler, Smultron, Evergreen.

    I don't want a full blown IDE. I am using Eclipse already. I just need a text editor to quickly edit some files, make small projects, etc.

    Unless there is a freeware out there, I don't mind paying for a shareware as long as it covers my needs.

    Thanks! :D
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Have you tried TextMate. I think that it might offer this. It does everything else you could ever imagine...
     
  3. bozigle macrumors regular

    #3
    eclipse

    You can have a look at eclipse... but this is not just a text editor and there is a deep learning curve. among ather things it does code completion fo most languages and if not strait out of the box a pletora of plugins are out there for free for any funny language... (want to do some ADA??)
    Bozigle
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Did you read the the OP is already using Eclipse? They want a simple text editor for fast edits when they don't want to use Eclipse.
     
  5. Cue thread starter macrumors regular

    Joined:
    Mar 10, 2005
    Location:
    Edinburgh, UK
    #5
    Thanks robbieduncan for the response!
    Just now I'm looking into Textmate. It does look cool with all the snippets and commands. It seems like a step towards the right direction.

    From the FAQ though it states that
    so I have to look around for any bundles for that. If anyone can give out a link I'll greatly appreciate it.

    Also it doesn't look like it handles tag suggestion for markup. Might be missing something though.
     
  6. ryee macrumors newbie

    Joined:
    Nov 27, 2006
    #6
    Why are you restricting yourself to a text editor. You should look at a full IDE like JDeveloper, Eclipse, or NetBeans. They have code completion and syntax highlighting.

    -Richard
     
  7. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #7
    I find that Eclipse is a fast text editor. You lose time during its startup, but more than make up for it with code completion and templates, immediate syntax checking and XML/HTML validation. Its extensibility also makes it a great candidate for working with all the different languages the OP mentioned.
     
  8. DXoverDY macrumors 6502a

    Joined:
    Apr 19, 2005
    #8
    TextMate with snippets is more than enough. I figure if you don't know the code well enough to remember it it's best to just type it out and remember it by force that way than to have an editor remember it for you. Or if you're lazy, create a snippet that does it for you.

    Snippets alone are worth the price of admission in TextMate. Amazing app, I use it for Cocoa and Rails coding. Wonderful application.
     
  9. bozigle macrumors regular

    #9
    next time i'll read it all

    My Bad... i'll be more careful next time in my reading.
    Now on the completion matter i have the feeling that the editor need to have a parser in order to understand how to find the method to implement. so this is no easy task for a simple Texteditor... And not that i think Eclipse is the solution for everything (i still get mad at it from time to time) it does have the completion functionality... for free

    Axé
    Bozigle
     

Share This Page