SA-MP Forums Archive
Anyone using Notepad++? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Anyone using Notepad++? (/showthread.php?tid=592189)



Anyone using Notepad++? - Scenario - 21.10.2015

If you're using Notepad++, is there a way to make the NPPExec plugin compile one single file, rather than the file you're currently viewing? Every time I want to compile my mode, I have to go to the main .pwn file and compile. I'd like to be able to hit compile from any of the pages I'm on...

Any ideas?

SOLVED This is what I ended up doing:

Код:
npp_save
cd C:\Users\Nick\Desktop\Role Play Script\gamemodes
"C:\Users\Nick\Desktop\Role Play Script\pawno\pawncc.exe" "main.pwn" -; -(



Re: Anyone using Notepad++? - jeffery30162 - 21.10.2015

I'm confused, what are you wanting to do?


Re: Anyone using Notepad++? - Scenario - 21.10.2015

Okay, this is my tab-list in Notepad++.



Let's say I'm in "stocks.irf" and I want to compile the code (which I have bound to F5). I can't, because if I push F5, it's going to try to compile stocks.irf rather than main.pwn.

I'd like to be able to push compile no matter what file I'm in and it ALWAYS attempt to compile main.pwn.

EDIT: I'd imagine I could change this around, but I'm not quite sure what to change it to.

Код:
npp_save
cd $(CURRENT_DIRECTORY)
"C:\Users\Nick\Desktop\Role Play Script\pawno\pawncc.exe" "$(FILE_NAME)" -; -(
-------------------

SOLVED This is what I ended up doing:

Код:
npp_save
cd C:\Users\Nick\Desktop\Role Play Script\gamemodes
"C:\Users\Nick\Desktop\Role Play Script\pawno\pawncc.exe" "main.pwn" -; -(



Re: Anyone using Notepad++? - ozm8ey - 22.10.2015

I use it for minecraft plugin configs but thats it


Re: Anyone using Notepad++? - SpaceX - 22.10.2015

I use it for editing C programs or the website HTML files.

I just start up the IDE whenever I want to compile


Re: Anyone using Notepad++? - Spydro - 22.10.2015

As simple as it may sound why not just setup a hotkey via a small bit of code to compile your. Pwn file?


Re: Anyone using Notepad++? - Scenario - 22.10.2015

I solved it Spydro, thanks though.