View Single Post
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-01-2020 , 17:06   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #183

Quote:
Originally Posted by Napoleon_be View Post
This wasn't nessecary on AMXx studio, i could copy paste and compile without saving, would give me an "untitled.amxx" file on my desktop.
Amxx studio was either:
  1. Using some `amxxpc` compiler option to input the source code directly by stdin (if this exists)
  2. Creating a temporary file on the file system with your plugin and calling the compiler with the temporary file as the input

As I use the Sublime Text build system to compile the file, any of these options are not possible as Sublime Text build system requires a file input by the user (not this plugin):
  1. https://www.sublimetext.com/docs/3/build_systems.html
  2. https://forum.sublimetext.com/t/any-way-to-build-without-saving-file-first/1658
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline