Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Apart from Force.com's internal editor and Force.com IDE / Eclipse, which applications support syntax highlighting for Apex and Visualforce.

I just found a definition file for Vim, but could not find any for other popular editors and writing systems, i.e. Gedit and SublimeText for editing, and Sphinx/Pygments for documenting.

What other syntax highlighting resources do you know? How would I write my own definition? Is there a reference on Force.com?

share|improve this question
add comment

3 Answers

On the Mac, checkout MavensMate for Sublime and TextMate: https://github.com/joeferraro/MavensMate-SublimeText

https://github.com/joeferraro/MavensMate

As Mark notes, anything that has a plugin structure and an existing plugin for Java/HTML or Java/JSP will translate almost 1:1 to Apex/Visualforce - with the exception of filename detection and some of the custom annotations/DML/SOQL stuff.

share|improve this answer
add comment

You could use Notepad++ and create a User Defined Language file for Apex (maybe based off of the Java language file) and also one for VisualForce (maybe the HTML language file with the addition of the VF tags).

Alternatively you can use Notepad++ with the Java and HTML languages selected when viewing Apex and VisualForce content respectively. It wouldn't be perfect but it would be better than raw text.

If you do create language files for Notepad++, consider publishing them for the world to use too!

Creating a User Defined Language File

SourceForge Notepad++ User Defined Languages list

share|improve this answer
add comment

Checkout BrainEngine windows only for desktop version, but they have a cloud version based on Silverlight?

Pretty cool! Still in beta, but the video on the site demos it's code-hinting which looks solid once they get the kinks worked out!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.