Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there syntax highlighting for assembly in Sublime Text 2?

I'm unable to highlight my assembly.

like image 506
y0no Avatar asked Jan 29 '12 20:01

y0no


People also ask

Does Sublime Text support syntax highlighting?

Once you select a language, Sublime Text will use the Syntax Highlighting for that language. To enable Syntax Highlighting click on “View” in the top bar, then hover your mouse over “Syntax”, and select your programming language from the list.

How do I select a programming language in Sublime Text?

Click the Plain Text label at the bottom right of the window and select your language. Alternatively, select your language in the menu at View » Syntax, or open your command palette ( Ctrl Shift P ) and type ssjava (equals to Set Syntax: Java ).

Where do sublime syntax files go?

sublime-syntax should be pushed onto the context stack. It also defines another key, with_prototype . This contains a list of patterns that will be inserted into every context defined within JavaScript.

How do I disable syntax highlighting in Sublime Text 3?

Or View -> Syntax -> Plain Text.


1 Answers

No, but since Sublime Text 2 can read Textmate language definition files (.tmLanguage files), you could easily add support to Assembly by copying something like https://github.com/foxostro/x86-assembly-textmate-bundle to your "Packages" directory (C:\Users\hugo\AppData\Roaming\Sublime Text 2\Packages on my Win7).

like image 115
Hugo Avatar answered Sep 19 '22 12:09

Hugo