Anyone using Notepad++?
#1

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" -; -(
Reply
#2

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

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" -; -(
Reply
#4

I use it for minecraft plugin configs but thats it
Reply
#5

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

I just start up the IDE whenever I want to compile
Reply
#6

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

I solved it Spydro, thanks though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)