Friday 14 March 2014

SPARQL highlighting in Notepad++

SPARQL highlighting in Notepad++ can be achieved by adding in a user defined language. Luckily this has already been catered for and is available from sourceforge, the specific file being notepadpp_sparql.xml.

To add this in locate your user defined language file userDefineLang.xml which will either sit in the application directory or {user}\AppData\Roaming\Notepad++\userDefineLang.xml and add in the <UserLang/> node and all its content from notepadpp_sparql.xml as a child to the <NotepadPlus> element in the userDefineLang.xml file. If the file does not exist, just rename notepadpp_sparql.xml as userDefineLang.xml and place it in the appropirate directory.