How to get it to read .ss files as html?
-
I tried deleting ss extention from scheme in the langs.model file and adding ss to HTML in Style Configurator, but it still reads .ss files as scheme files.
-
Hello @nika-rudolf and All,
Not very difficult, indeed ! But, first, we must identify where the Configuration files, of your N++ configuration, are ! So, choose, in N++, the menu option > ? > Debug info… :
-
If the Local Conf mode line is set to
ON, you have a local N++ configuration => You probably got Notepad++ via a.zipor.7zarchive and your configration files should be in theN++ installationfolder, along with the executable filenotepad++.exe -
If the Local Conf mode line is set to
OFF, you probably got Notepad++ with the installer and your configuration files should be :-
In the
%AppData%\Roaming\Notepad++folder, if your system is a W7, W8 or W10 machine -
In the
%AppData%\Notepad++folder, if your system is a XP, or Vista machine
-
IMPORTANT : We’re going to modify two configuration files :
langs.xmlandstylers.xml. So :-
In Notepad++, close, first, all your opened
.ssfiles. Then, choose the menu option File > Empty Recent Files List, in order to delete any reference to the.ssfiles, in thesession.xmlconfiguration file ! -
Now, close any instance of N++ and BACKUP your active files
langs.xmlandstylers.xmlas, for instance,langs.bakandstylers.bak( One never knows !! ) -
To edit the
langs.xmlandstylers.xmlfiles, you must NOT use Notepad++ and use, exclusively,MS NotepadorMS wordpador any other text editor !!
Then :
- Open the
langs.xmlfile and change the line :
<Language name="scheme" ext="scm smd ss" commentLine=";">into :
<Language name="scheme" ext="scm smd" commentLine=";">Save the changes and exit the
langs.xmlfile. Now, open thestylers.xmlfile and change the line :<LexerType name="html" desc="HTML" ext="">into :
<LexerType name="html" desc="HTML" ext="ss">Save the changes and exit the
stylers.xmlfile
Finally, open Notepad++ and load any
.ssfile => It should be opened, automatically, with the HTML language :-DBest Regards,
guy038
-
-
Thank you so much, I did it and it works fine!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login