I use nppexec in notepad++. You can install it via the Plugin manager.
Once it's installed you can go to the Plugin menu > nppexec > execute.
You need to set the current directory, then call the bat file.
| cd w:\handmade\code\
nppBuild.bat
|
Save that in the window.
You can set a shortcut to execute that specific "script" in the shortcut manager, in the plugins tab (look for the name you set when saving).
My nppBuild.bat file contains this
| @echo off
call w:\\handmade\\misc\\shell.bat
call w:\\handmade\\code\\build.bat
|
In the options for nppexec there is a menu named "Console output filter". In there you can configure masks that will allow you to jump to errors when you double click on them in the console (didn't find a way to set a shortcut for that, if someone figures a way to do it please share).
with colours set to 0x35, 0x76, 0xa4 for "hint" messages (don't remove the spaces at the beginning of the line).
with colors set to 0xff, 0x00, 0x00 for errors.
| %ABSFILE%(%LINE%)*warning*
|
with colours set to 0xaa, 0xaa, 0x00 for warnings.
Obviously you can choose other colours ^^.
I would recommend other plugins :
File switcher : allows to switch between opened file by pressing a shortcut and then typing the name of the file in a window.
Switcher : allows to switch between .cpp and .h files.
ScrollPastEOF : allows to scroll the document past the end of the file so you're not forced to edit at the bottom of the window.
I also like to map incremental search instead of regular search on Ctrl + F.