Just a "Heads Up" about getting [Sections} showing...
Member RiseUp discovered that the initial langID for INI files MUST be in functionList.xml or this will not work!
So when you are editing the file, make sure you have the initial INI association:
<association langID="13" id="ini_section"/>
In the list of associations when you add the langID for Rainmeter.
Thanks RiseUp!
It is currently September 1st, 2024, 1:14 am
Notepad++: Snippets for Rainmeter
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
You do not have the required permissions to view the files attached to this post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
+ Updated Rainmeter Snippet Libraries to include the Usage Monitor measure Plugin
- Removed deprecated plugins: AdvancedCPU, PerfMon, & iTunes
Download the updated library from the first post in this thread...
Remember to delete any current Rainmeter Templates and Rainmeter Action Bangs libraries before importing the updated versions.
- Removed deprecated plugins: AdvancedCPU, PerfMon, & iTunes
Download the updated library from the first post in this thread...
Remember to delete any current Rainmeter Templates and Rainmeter Action Bangs libraries before importing the updated versions.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Notepad++: Snippets for Rainmeter
Not a good idea, because for backward compatibility those options should have to remain valid. I assume...eclectic-tech wrote:- Removed deprecated plugins: AdvancedCPU, PerfMon, & iTunes
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
Well, they are still valid plugins...balala wrote:Not a good idea, because for backward compatibility those options should have to remain valid. I assume...
Removing them from the Snippets list does not stop them from working, it simply does not offer them as an option to insert in the code.
We want authors to use the Usage Monitor plugin instead of these deprecated plugins.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Notepad++: Snippets for Rainmeter
Yeah, obviously, but still being working plugins, would be good to be still kept in the code highlighting. There still are many old codes to work with.eclectic-tech wrote:Removing them from the Snippets list does not stop them from working, it simply does not offer them as an option to insert in the code.
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Notepad++: Snippets for Rainmeter
But this Snippets thing is not about code highlighting.balala wrote:Yeah, obviously, but still being working plugins, would be good to be still kept in the code highlighting. There still are many old codes to work with.
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
The Code snippets have been updated to reflect the change to internal measures that were previously plugins:
Get the latest NPPSnippets from the first post.
- MediaKeys
- NowPlaying
- RecycleManager
- Webparser
Get the latest NPPSnippets from the first post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
- Added mouse bangs to Rainmeter Action Bangs library
- Renamed actions bangs so similar actions are grouped
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
- Corrected MouseAction group bangs for proper syntax order (See: This Post)
Note: The update includes "Templates" and "Action Bangs" libraries, but you only need to import the updated "Rainmeter Action Bangs" library.
Remember to delete the old action bangs library before importing the updated one...
![17readbook :17readbook](./images/smilies/17readbook.gif)
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Notepad++: Snippets for Rainmeter
NOTE: This is a copy of instructions posted by JSMorley as it relates to installing Snippets by Frank Fesevur after upgrading to version 7.6 of Notepad++
Note that some folks may run into issues with this upgrade. Here are some tips on how to get things working clean and smooth...
First, if you are installing Notepad++ for the first time, ignore this post.
Second, if you already upgraded and have Rainlexer working, use NPP to install Snippets from "Plugins", "Plugin Admin".
If you have been running Notepad++ for some time, one of the things that can (and almost certainly will) happen is that there will be a lot of unneeded, and even harmful, "debris" hanging around from earlier versions. Over the years they have moved where things are stored and what files are used for "settings", and the old stuff is often left behind. This can cause massive problems going forward!
So here is the current layout of where things are with Notepad++ as of version 7.6
The application, 64bit or 32bit depending on what you installed:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++
Settings for the application. Changes you make to styles and such:
C:\Users\YourName\AppData\Roaming\Notepad++
This can also be accessed in Explorer with %APPDATA%\Notepad++
The files in this folder that contain the settings you might want to keep and protect, so you don't have to start over are:
config.xml
contextMenu.xml
functionList.xml
langs.xml
session.xml
shortcuts.xml
stylers.xml
plugins\config\NppSnippets.sqlite
Before you start doing anything, make a backup copy of just these settings files. We are going to want to put them back at the end.
.dll executable files for plugins:
C:\Users\YourName\AppData\Local\Notepad++\plugins
This can also be accessed in Explorer with %LOCALAPPDATA%\Notepad++\plugins
If it even exists, there is no need to back up anything in this folder. This is a new folder location as of Notepad++ 7.6.
Ok, now we want to completely uninstall Notepad++. After doing so ensure that the following folders don't exist:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++
C:\Users\YourName\AppData\Roaming\Notepad++
C:\Users\YourName\AppData\Local\Notepad++
Then install the latest (7.6 as of this writing) version of Notepad++ from https://notepad-plus-plus.org/
32bit or 64bit is up to you, although be aware that while Snippets supports either, many other older 3rd-party plugins you might be using may not work, and require an upgrade (if one exists) if you change from using 32bit Notepad++ to 64bit Notepad++.
Then install Snippets from Snippets.
His instructions need updating, so to install manually,
copy NppSnippets.dll to C:\Users\YourName\AppData\Local\Notepad++\plugins\NppSnippets folder (you may need to create this folder),
and copy NppSnippets.sqlite to C:\Users\YourName\AppData\Roaming\Notepad++\plugins\config folder and (re)start Notepad++.
OR you can use NPP and from the "Plugins" menu, select "Plugin Admin"; look for "Snippets" plugin in the list, it is by Author: Frank Fesevur and version 1.4. If you use the "Plugin Admin" method, the plugin may generate an error message "Cannot find database" and close; don't panic, follow the next step to copy NPPSnippets.sqlite back to their original locations.
Then copy the settings files you backed up above, back to their original locations in C:\Users\YourName\AppData\Roaming\Notepad++
Start Notepad++ and edit a skin to be sure Snippets is working and that any changes you made to the style or colors in that, or in Notepad++ in general, are still what you want. They should be.
Note that some folks may run into issues with this upgrade. Here are some tips on how to get things working clean and smooth...
First, if you are installing Notepad++ for the first time, ignore this post.
Second, if you already upgraded and have Rainlexer working, use NPP to install Snippets from "Plugins", "Plugin Admin".
If you have been running Notepad++ for some time, one of the things that can (and almost certainly will) happen is that there will be a lot of unneeded, and even harmful, "debris" hanging around from earlier versions. Over the years they have moved where things are stored and what files are used for "settings", and the old stuff is often left behind. This can cause massive problems going forward!
So here is the current layout of where things are with Notepad++ as of version 7.6
The application, 64bit or 32bit depending on what you installed:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++
Settings for the application. Changes you make to styles and such:
C:\Users\YourName\AppData\Roaming\Notepad++
This can also be accessed in Explorer with %APPDATA%\Notepad++
The files in this folder that contain the settings you might want to keep and protect, so you don't have to start over are:
config.xml
contextMenu.xml
functionList.xml
langs.xml
session.xml
shortcuts.xml
stylers.xml
plugins\config\NppSnippets.sqlite
Before you start doing anything, make a backup copy of just these settings files. We are going to want to put them back at the end.
.dll executable files for plugins:
C:\Users\YourName\AppData\Local\Notepad++\plugins
This can also be accessed in Explorer with %LOCALAPPDATA%\Notepad++\plugins
If it even exists, there is no need to back up anything in this folder. This is a new folder location as of Notepad++ 7.6.
Ok, now we want to completely uninstall Notepad++. After doing so ensure that the following folders don't exist:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++
C:\Users\YourName\AppData\Roaming\Notepad++
C:\Users\YourName\AppData\Local\Notepad++
Then install the latest (7.6 as of this writing) version of Notepad++ from https://notepad-plus-plus.org/
32bit or 64bit is up to you, although be aware that while Snippets supports either, many other older 3rd-party plugins you might be using may not work, and require an upgrade (if one exists) if you change from using 32bit Notepad++ to 64bit Notepad++.
Then install Snippets from Snippets.
His instructions need updating, so to install manually,
copy NppSnippets.dll to C:\Users\YourName\AppData\Local\Notepad++\plugins\NppSnippets folder (you may need to create this folder),
and copy NppSnippets.sqlite to C:\Users\YourName\AppData\Roaming\Notepad++\plugins\config folder and (re)start Notepad++.
OR you can use NPP and from the "Plugins" menu, select "Plugin Admin"; look for "Snippets" plugin in the list, it is by Author: Frank Fesevur and version 1.4. If you use the "Plugin Admin" method, the plugin may generate an error message "Cannot find database" and close; don't panic, follow the next step to copy NPPSnippets.sqlite back to their original locations.
Then copy the settings files you backed up above, back to their original locations in C:\Users\YourName\AppData\Roaming\Notepad++
Start Notepad++ and edit a skin to be sure Snippets is working and that any changes you made to the style or colors in that, or in Notepad++ in general, are still what you want. They should be.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::