Installed Npp here and then PlugIn menu item Plugin Admin found NppExec.
Open menu \ plugins \ Nppexec and "check follow $(current_directory) so that command executes from the source file folder.
Set up TSET including edits needed as noted in readme to localize paths to current computer.
Then as noted in Use-Sublime-Text-as-an-Arduino-IDE-replacement emulate the commands shown for SublimeText.
Execution looks to be much simpler, but not gone as far as seeing about adding them to Menu items or shortcut keys:
Code:
{
"shell_cmd": ".\\Compile.cmd 1",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Clean",
"shell_cmd": ".\\Compile.cmd 2",
},
{
"name": "New Sketch",
"shell_cmd": "start T:\\Programs\\TSet\\open_new.cmd",
},
{
"name": "Verify",
"shell_cmd": ".\\Compile.cmd 0",
},
{
"name": "Tools Set",
"shell_cmd": "start T:\\Programs\\TSet\\TSet.cmd",
}
]
}
Run this:: in the case here to the path where TSET.cmd was copied from github.com/Defragster/Tset:
Code:
npp_run T:\\Programs\\TSet\\TSet.cmd"
This creates "Compile.cmd" in that current directory!
Executing this:: worked to build and upload using above Compile.cmd in the sketch INO directory:
Should be the same for "0" and "2" above "Verify" and "Clean"
As noted in github ReadMe it should upload with TeensyLoader or TyCommander as installed.
Below starts the NEW sketch batch file
When prefixed with npp_run it will open a CMD window to run the batch file rather than executing in place. For building it is better as above but perhaps better to do like this for Compile.cmd (as above)and NEW as follows:
Code:
npp_run "T:\Programs\TSet\open_new.cmd"
The CONSOLE window can be PULLED out to a stand alone window - COOL with multimon so it can be bigger without taking space from code window!
It seems to suggest is can find and GOTO NEXT or PREVIOUS error - though I don't see it working - even with edits to the console filter? Calling this good enough to show it is worth looking at if desired.