Notepad++ Plugin

I use Notepad++ a lot. It is the best txt editor for me. I write almost all my scripts/g-codes in there.

As an experimentation I created plugin that implements TNG expression engine as Npp plugin.
It simply evaluates selected text as expression and stores result to clipboard. I no longer need calculator.



Almost all relevant Expression functions and operators can be used in this plugin.

Take a look at examples to see the power of this plugin.

You can add it to context menu. Edit file “%AppData%/Notepad++/contextMenu.xml” and add this:

<Item FolderName="PlanetCNC" PluginEntryName="PlanetCNC Tools" PluginCommandItemName="Expression" ItemNameAs="Calculate Expression"/>
<Item id="0"/>

You can also add shortcut to F12 (like I do). Edit file “%AppData%/Notepad++/shortcuts.xml” and add this:

<PluginCommands>
  <PluginCommand moduleName="PlanetCNCNpp64.dll" internalID="0" Ctrl="no" Alt="no" Shift="no" Key="123" />
</PluginCommands>

See also

examples
functions
operators