Raised This Month: $85 Target: $400
 21% 

[TUT] Compiling AMXX plugins with Sublime Text


Post New Thread Reply   
 
Thread Tools Display Modes
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-06-2017 , 22:57   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #21

Quote:
Originally Posted by Mistrick View Post
Wrong detection with AmxxPawn syntax.
Thanks, I forgot to capture these other cases when I build the `register_cvar` scopes.
Until now I only had been doing:
Code:
register_cvar( "gal_srv_start", "0" );
But not:
Code:
register_cvar( cvar_name_string, "0" );

Therefore, Released a new version:
Code:
v1.2.1 | 2017-01-07
 * Fixed the `register_cvar` not being recognized at some cases on the AmxxPawn.sublime-syntax
__________________
Plugin: Sublime Text Studio , Galileo
Multi-Mod: Manager / Plugin / Server

Help the AlliedModders' website stay online!

Last edited by addons_zz; 02-07-2017 at 01:22.
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-07-2017 , 04:36   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #22

Very cool addons, i will try out the new version tonight
__________________
Depresie is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-07-2017 , 09:00   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #23

Everything seems fine except for the following

If the file is not saved (i.e you start writing a new sheet without saving it ) the auto completion won't work

Also, could you please remove this message ?
Quote:
"1 File(s) copied, to the folder C:\Users\Nick\Desktop\SERVER\cstrike\addons\a mxmodx\plugins
Cannot perform a cyclic copy"
I'll get now back on scripting ^_^

P.S : You forgot highlighting for var/function tags ( public / const / new )
__________________

Last edited by Depresie; 02-07-2017 at 19:13.
Depresie is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-08-2017 , 03:13   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #24

Quote:
Originally Posted by Depresie View Post
Also, could you please remove this message ?
Quote:
1 File(s) copied, to the folder C:\Users\Nick\Desktop\SERVER\cstrike\addons\a mxmodx\plugins
Cannot perform a cyclic copy"
Both messages or just the last one `Cannot perform a cyclic copy`?

Quote:
Originally Posted by Depresie View Post
P.S : You forgot highlighting for var/function tags ( public / const / new )
I do not understand what it means. Can you show some screenshots?
  1. Code:
    public runTheServerMapCrashSearch() {     new modeFlagFilePath[ MAX_FILE_PATH_LENGHT ];     formatex( modeFlagFilePath, charsmax( modeFlagFilePath ), "%s/%s", g_dataDirPath, TO_STOP_THE_CRASH_SEARCH );


__________________
Plugin: Sublime Text Studio , Galileo
Multi-Mod: Manager / Plugin / Server

Help the AlliedModders' website stay online!

Last edited by addons_zz; 02-08-2017 at 03:16.
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-08-2017 , 13:57   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #25

I think both messages should be deleted, they are just waste of space in the output window
Strange, for me all the tags except Float are written with default font color on all the dark themes

Oh, and btw, i love the color schemes, they are so good, i really think that you should go further with this, like maybe making it an official IDE for amxx, replacing the old amxmodx studio...
__________________

Last edited by Depresie; 02-08-2017 at 14:04.
Depresie is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-08-2017 , 14:01   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #26

What color scheme you are using?
Can you provide some screenshots so I can understand what is going on?
__________________
Plugin: Sublime Text Studio , Galileo
Multi-Mod: Manager / Plugin / Server

Help the AlliedModders' website stay online!

Last edited by addons_zz; 02-08-2017 at 14:11.
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-08-2017 , 14:11   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #27

It is happening for all the dark themes ( atomic / dark / mistrick / twlight )

http://imgur.com/a/jSUOS
__________________

Last edited by Depresie; 02-08-2017 at 14:13.
Depresie is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-08-2017 , 14:14   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #28

No need for It, I found the problem. You need to change the syntax to one compatible.

Code:
Open all with current extension as... -> amxmodx -> AMXX-Pawn
, instead of Amxx Pawn -> AmxxPawn

Pictures:
Spoiler
__________________
Plugin: Sublime Text Studio , Galileo
Multi-Mod: Manager / Plugin / Server

Help the AlliedModders' website stay online!

Last edited by addons_zz; 02-08-2017 at 14:15.
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-08-2017 , 14:19   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #29

Yep, it solved the problem, thanks
I will continue exploring the IDE while scripting and come with issues/suggestions

Oh man, really nice work, it is a pleasure to script on this, idk how you got the colors to blend so nice..
__________________
Depresie is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-09-2017 , 11:43   Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
Reply With Quote #30

Any chance to disable the features which sends the text automatically to the next row if the line is too long ?

http://imgur.com/a/gXVqy

Nvm, found the solution, View -> Word Wrap
__________________

Last edited by Depresie; 02-09-2017 at 11:46.
Depresie is offline
Reply


Thread Tools
Display Modes

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 04:46.


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