AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   [TUT] Compiling AMXX plugins with Sublime Text (https://forums.alliedmods.net/showthread.php?t=293376)

addons_zz 02-06-2017 21:57

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
Quote:

Originally Posted by Mistrick (Post 2493507)
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


Depresie 02-07-2017 03:36

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
Very cool addons, i will try out the new version tonight :D

Depresie 02-07-2017 08:00

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
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 )

addons_zz 02-08-2017 02:13

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
Quote:

Originally Posted by Depresie (Post 2493626)
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 (Post 2493626)
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 );
  2. http://i.imgur.com/tMmjRfi.png

  3. http://i.imgur.com/4ZiiISZ.png

Depresie 02-08-2017 12:57

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
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...

addons_zz 02-08-2017 13:01

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
What color scheme you are using?
Can you provide some screenshots so I can understand what is going on?

Depresie 02-08-2017 13:11

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
It is happening for all the dark themes ( atomic / dark / mistrick / twlight )

http://imgur.com/a/jSUOS

addons_zz 02-08-2017 13:14

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
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:

Depresie 02-08-2017 13:19

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
Yep, it solved the problem, thanks :D
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 02-09-2017 10:43

Re: [TUT] How to setup a simple IDE to program/compile AMXX plugins (with Sublime Tex
 
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


All times are GMT -4. The time now is 23:30.

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