Notepad++: Display Rainmeter Sections List
Posted: July 12th, 2015, 2:28 pm
I wanted to resurrect and highlight this great tool addition to Notepad++ by mr. derek... Thanks!
This will display all of your skin sections in a sidebar for quick access; a great addition for editing larger skins!
Originally posted Mar 29, 2015 :: Link to original post
This will display all of your skin sections in a sidebar for quick access; a great addition for editing larger skins!
Originally posted Mar 29, 2015 :: Link to original post
mr.derek wrote:Hi!
Thanks so much for this syntax highlighter, I love it!
I just thought I'd contribute my findings - I use the function list in Notepad++ to navigate quickly around a big ini file, but couldn't figure out how to get it to work with a language that was installed as a plugin (such as Rainlexer). The following worked for me:
Go to your windows user's appdata: WIN + R - %APPDATA%\notepad++
Open up functionsList.xml and go to the associations section (pictured). Be sure to make a backup of this file before you save any changes.
Now this next part will depend on how many languages you have installed. I only had one (Autohotkey). The system languages as documented in the XML file go up to id 55. So with AHK at id 56, Rainmeter took up id 57. The function parser for my purposes was the same as an ini file where [...] defines the function. So the association statement you enter is:
<association langID="57" id="ini_section"/>
You may need to adjust the langID number higher or lower depending on your setup. Worst case start with 56 and increment up by 1 until the functions list starts working for rainmeter files.
Finally, I use a black background in notepad++ for everything so I'm attaching my styler data which works for the Vibrant Ink theme (or any other black background theme). As Rainlexer is a plugin you have to go to %AppData%\Notepad++\plugins\config\RainLexer.xml
Open it up and at the bottom you will see LexerStyles. Make a backup of this file and then replace the following style with the one there for a black background style (all dem zeros).
Thanks again for the plugin and for the work in maintaining it! I'm still very new to Rainmeter so please correct me if I'm wrong in anything.