Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cue

macrumors regular
Original poster
Mar 10, 2005
220
0
Edinburgh, UK
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
 
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
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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

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.
 

Cue

macrumors regular
Original poster
Mar 10, 2005
220
0
Edinburgh, UK
Have you tried TextMate. I think that it might offer this. It does everything else you could ever imagine...

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
Keywords: completion codesense intellisense
Q: Does TextMate have code completion, e.g. type a variable name and see all member data for that variable (object)?

A: No.

What it does have is word completion based on current buffer and insertion of snippets or commands using tab triggers. There is also a PHP code completion bundle that adds completion and help for native PHP functions.

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.
 

ryee

macrumors newbie
Nov 27, 2006
3
0
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
 

jeremy.king

macrumors 603
Jul 23, 2002
5,479
1
Holly Springs, NC
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.

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.
 

DXoverDY

macrumors 6502a
Apr 19, 2005
810
0
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.
 
next time i'll read it all

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.

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.