Raised This Month: $ Target: $400
 0% 

Compile plugins easily in Notepad++


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
blaacky
Senior Member
Join Date: Oct 2012
Old 05-28-2015 , 00:17   Compile plugins easily in Notepad++
Reply With Quote #1

This crap took me forever to figure out because I don't know much about the cmd nor spcomp but hopefully this will help you. I am switching to using Notepad++ because PawnStudio seems too outdated with the new syntax change.

First you need to install NppExec



It can be downloaded in this window, you just gotta look for it.



Press F6 after it's installed and you've restarted Notepad++, then this window should show up.



Place this into the textbox, save the script, and now it should work to compile by hitting F6 every time you want to compile, and then OK. Ctrl + F6 will always execute the last script you did. So that is even faster.

Code:
NPP_SAVE
cd $(CURRENT_DIRECTORY)
spcomp $(FULL_CURRENT_PATH)
cmd /c move "$(CURRENT_DIRECTORY)\$(NAME_PART).smx" "$(CURRENT_DIRECTORY)\..\plugins\$(NAME_PART).smx"
__________________

Last edited by blaacky; 06-14-2017 at 18:53.
blaacky is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode