Farmrush wrote:
Notepad++ doesn't compile (as far as I know?), but I think it deserves a mention somewhere.
There is an extension/plug-in that comes by default called NppExec (plugins > NppExec > Execute) that allows you to call commands/execute files using parameters with some special variables for current files, directories and such. So you can compile by using that with some configuration, it's actually really useful as an IDE for some compilers that don't have any supported IDEs (ie. command line only compilers) since it doesn't require any addons to make it possible, and you can also bind different configurations/NppExec scripts to macros so you can compile by using Fkeys =]
As an example (just if anyone is interested): spcomp.exe takes single script file as input (*.sp), outputs bytecode file of the same name (with extension *.smx):
Code:
npp_save
set $(SM_PATH) = C:\cs_srcds\cstrike\addons\sourcemod
cd $(CURRENT_DIRECTORY)
cls
"$(SM_PATH)\scripting\spcomp.exe" "$(FULL_CURRENT_PATH)"
cmd /q /c copy "$(CURRENT_DIRECTORY)\$(NAME_PART).smx" "$(SM_PATH)\plugins\$(NAME_PART).smx"
So in the example: save current tabbed file -> cd to where that file exists -> call spcomp.exe compiler with the full filename -> copy the output file using the filename w/o extension to a different location.
Might save someone the headache I went through trying to set up an IDE for some simple compile tasks (probably too primitive for compilers requiring multiple file inputs). More @ NppExec docs.