[TUT] Compiling AMXX plugins with Sublime Text
1 Attachment(s)
[TUT] Compiling AMXX plugins with Sublime Text Quote:
I did not wrote Sublime Text, or the several of its packages I providing on this setup. Each package has its own README file stating its author, or at least should. I just gathered them and put them all together, may be a few bug fixed if necessary on some of them. See the change log for more details. The distributed packages by the Data.zip or later downloaded by the AmxxChannel installer, in addition to each one own license, are distributed under the following conditions for its usage and installation: Code:
ALL THE SOFTWARES, PACKAGES, PLUGINS, SETTINGS, DOCUMENTATION, EVERYTHING ELSE, ARE PROVIDED Contents' Table
You can have tooltips with your function documentations: https://i.imgur.com/txvDpry.png This is how the application looks like. Here I am using the commands:
There is also the commands:
You can see the parameter by putting the mouse over the function name and waiting about 2 seconds: https://i.imgur.com/UHuJU8S.gif Change log Go to top
Spoiler
How to compile? Go to top
Spoiler
What more you can do? Go to top
Spoiler
Why Sublime Text? Go to top Because you can customize anything: Key Bindings, Menus, Snippets, Macros, Completions and more, just about everything in Sublime Text is customizable.
Downloads Go to top What do you need?
Old Versions Downloads Code:
Packages.zip (604.7 KB, 56 views ) - v1.4.3 | 2017-01-17 The distributed packages by the Data.zip or later downloaded by the AmxxChannel installer, in addition to each one own license, are distributed under the following conditions for its usage and installation: Code:
ALL THE SOFTWARES, PACKAGES, PLUGINS, SETTINGS, DOCUMENTATION, EVERYTHING ELSE, ARE PROVIDED |
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins
How to install? Go to top
Spoiler
The auto-completion by [Destro], Go to top To use the auto-completion you need to configure your include folder going on the menu: Code:
Preferences -> Package Settings -> AmxxEditor -> Edit AmxxEditor Autocompletion Settings
Spoiler
FAQ: Frequently Asked Questions Go to top
|
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Thanks for the tutorial, i will try it as soon as i get the chance
|
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Ahm, custom includes support ? =\
|
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Quote:
|
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
I am not searching for a include folder where the plugin is, and coping it to the folder of your compiler's include folder is.
For now you can manually copy them to yours compiler's folder. Does it is really necessary? I can include it on the compilation script later. Update: The load seems to be automatic just using the compiler parameter -I/plugin/include/folder I tested and it works. Latter I will release a update with. Are there some other things you want to include? |
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
I dont understand what you mean...
The include folder is located in the same folder with the compiler... Funny tho, it doesn't read from my custom incs, but for some reason it has zombie plague natives, wth |
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Quote:
Code:
D:/ Code:
C:/ we do not need to copy the include files to the compiler's default include folder. Example: Code:
D:/Game/cstrike/addons/amxmodx/scripting/amxxpc.exe -I"C:/User/Downloads/include" "C:/User/Downloads/include/zp_plague_5.sma" |
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Well, for me it seems to read only from the Download folder include..
How do i set it to read and read only includes from the compiler's folder ? It also auto completes for all the includes even tho they are not defined in the actual script =/ |
Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Quote:
Code:
fatal error 100: cannot read from file: "amxmodx" Code:
D:/Game/cstrike/addons/amxmodx/scripting/amxxpc.exe -I"C:/User/Downloads/include/" -I"F:/AMXX/include/" -I"D:/User/Downloads/include/" "C:/User/Downloads/include/zp_plague_5.sma" Code:
D:/Game/cstrike/addons/amxmodx/scripting/amxxpc.exe -I"D:/Game/cstrike/addons/amxmodx/scripting/include/" -I"C:/User/Downloads/include/" -I"F:/AMXX/include/" -I"D:/User/Downloads/include/" "C:/User/Downloads/include/zp_plague_5.sma" Quote:
To do auto completion based on the included files, I need to parse the plugin file, detect which includes it uses, and parse the include folder to get their definitions. I will see if I can get it working here. |
All times are GMT -4. The time now is 17:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.