I've made Syntax Highlighting files for both Notepad++ and gedit.
For Notepad++ download userDefineLang.xml
If you do not have any custom languages installed, unzip it to your base Notepad++ directory. By default this is C:\Program Files\Notepad++
If you have installed one before, open both userDefinedLang.xml files and paste from
toCode:<UserLang name="Chrome Ext Def" ext="json">
before theCode:</UserLang>
line in the xml file in the Notepad++ directory.Code:</NotepadPlus>
For gedit download chromemanif.lang and x-chrome-ext-manifest.xml. I have no idea how gedit works on Windows, so I can't really guide you on that. Sorry. :S
But on Ubuntu, move x-chrome-ext-manifest.xml to ~/.local/share/mime/packages and run this command:
Then copy or move chromemanif.lang to /usr/share/gtksourceview-2.0/language-specsCode:update-mime-database ~/.local/share/mime/packages
If you have snippets extension installed in gedit, you can download [url=http://logicplace.com/pc/projects/chrome/manifest/gedit%20-%20Chrome%20Manifest%20-%20Snippits.tar.gz[/url] and import that into your snippets collection.
Of course with both you'll have to restart the editor!
Enjoy. :] Snippets make manifest making soo fast. <3
EDIT: For those curious, or wanting to make a highlighting file of their own for another editor, you can check out the spec here. I didn't add all the theme possibilities cause I was lazy, but you can get them from the links in there. (Prepending them with this.)
Update Feb. 24, 2010: Updated to reflect the current manifest spec entirely. (As of the trunk build around this day.)


LinkBack URL
About LinkBacks



Reply With Quote


