06.05.2009, 05:31
This small tutorial explain how to use Notepad++ as a replacement for Pawno.
Many advantages, but one inconvenient: no functions list (yet). Still interested?
Many advantages, but one inconvenient: no functions list (yet). Still interested?
- Download and install Dracoblue's Pawn syntax highlighter for Notepad++
- Go into C:\Documents and Settings\<you>\Application Data\Notepad++\plugins\config
- Open NppExec.ini and modify as follow (or delete all in the file and add this)
Code:[Console] Visible=1 ShowHelp=0 Encoding=290 SaveOnExecute=1 CmdHistory=1 SaveCmdHistory=1 NoInternalMsgs=1 CdCurDir=1 [Restore] LastSelectedScript=1 [ExitBox] I0="exit" [ConsoleOutputFilter] RecognitionMask0="%ABSFILE%(%LINE%) : warning*" RecognitionEffect0="+E 00 00 FF -I +B -U" RecognitionMask1="%ABSFILE%(%LINE%) : error*" RecognitionEffect1="+E FF 00 00 -I +B -U" RecognitionMask2="%ABSFILE%(%LINE%) : fatal error*" RecognitionEffect2="+E 00 00 00 -I +B -U"
- Open or create (in the same folder of the previous step) npes_saved.txt and add this:
Code:::pawncc <path to pawncc.exe> "$(FULL_CURRENT_PATH)" -; //In my case it's: E:\GTA San Andreas\samp_server_02X\pawno\pawncc.exe "$(FULL_CURRENT_PATH)" -;
- You can change the shortcut for compiling (by default, CTRL+F6) by going in Settings -> Shorcut mapper -> Plugins commands and change the shortcut of Direct Execute Previous to F5 or whatever you want.
- Done! Have fun.