How to make Emmet on Notepad++ treat extension .xslt as language XSLT?

When file extension is .xsl everything is good, but with .xslt it falls back to default: html, so I cannot expand XSLT code.

I believe it does not look at file extension, because for whatever file, if you choose CSS as syntax highlight, you can expand CSS, eg: 'va' expands to 'vertical-align: top;'; if you choose any other syntax highlight, 'va' expands to ''.

The problem is I am already using XML syntax highlight for both .xsl and .xslt . I tried to edit the config file C:\Program Files (x86)\Notepad++\plugins\EmmetNPP\emmet\snippets.json but there was just no difference.

Answers


You can edit langs.xml. It has all the default associations between languages and extensions. Located in C:\Users\yourUserName\AppData\Roaming\Notepad++\langs.xml.


Need Your Help

(windows) raw write to file without involving win32api

windows winapi assembly file-io

I would like to know if there is an option, and if so - how exactly, to be able to write raw bytes to a file without using WIN32API file handling calls, while in Windows.

Password length error wont show up

php registration

I have an error ("Password length must be between 6 and 32 characters long") set up so when users try to register with a password less than 6 characters, they get that error and are unable to sign ...