View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-31-2019 , 03:46   Re: [tweak] Compile plugins by double click
Reply With Quote #11

Hi, 404UNF!
Thank you for interest.

Quote:
Any chance of a Sublime Text 3 compiler?
That is easy:

Tools -> Build System -> New Build System ...
Code:
{
	"shell_cmd": "rundll32.exe shell32,ShellExec_RunDLL $file"
}
File -> Save -> SourceMod.sublime-build

Building process:

Open any .sp file
Select Tools -> Build System -> SourceMod
Ctrl + B

Next time it should remember it. Otherwise: e.g. do like in this topic:
https://stackoverflow.com/questions/...file-extension
(actually, I never worked with Sublime yet)

Quote:
Also thanks for the double-click compile thing. I'm gonna spread this around as this is really useful.
Unfortunately, I missed Windows 8+ has file association protection. I will update my script as soon as I have a free time.
Current Win8+ support is partial.
Also, I am going to add automatic custom include files support.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-31-2019 at 04:37.
Dragokas is offline