Raised This Month: $51 Target: $400
 12% 

[Editor] Sublime AMXX-Editor v2.2


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-10-2016 , 20:15   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #71

AMX Mod X is spelled wrong.
__________________
fysiks is offline
ish12321
Veteran Member
Join Date: May 2016
Old 10-11-2016 , 03:43   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #72

Ok Thanks
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 10-11-2016 , 07:08   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #73

Code:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_2.2\Data\Installed Packages\amxmodx.sublime-package", line 573, in run
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_2.2\Data\Installed Packages\amxmodx.sublime-package", line 601, in process_existing_include
NameError: global name 'include_re' is not defined
What about add support for Toggle Comment in sma, inc, inl?(Edit - Comment)
Just add file to amxmodx.sublime-package.
Attached Files
File Type: zip Comments.zip (368 Bytes, 63 views)

Last edited by Mistrick; 10-11-2016 at 11:12.
Mistrick is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 10-11-2016 , 09:23   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #74

I also support the idea that ST AMX Mod X editor should be default. It must be tested deeply before making it official to be sure that is stable and working under any environment.

Great work Destro. Keep it up.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 10-11-2016 , 12:53   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #75

Quote:
Originally Posted by Mistrick View Post
Code:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "AMXXEditor in  D:\Soft\Programming\sublime_amxx-editor_2.2\Data\Installed  Packages\amxmodx.sublime-package", line 573, in run
  File "AMXXEditor in  D:\Soft\Programming\sublime_amxx-editor_2.2\Data\Installed  Packages\amxmodx.sublime-package", line 601, in process_existing_include
NameError: global name 'include_re' is not defined
what to do for that happen?

Quote:
Originally Posted by Mistrick View Post
What about add support for Toggle Comment in sma, inc, inl?(Edit - Comment)
Just add file to amxmodx.sublime-package.
".inl" ?
__________________

Last edited by Destro-; 10-11-2016 at 15:08.
Destro- is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-11-2016 , 14:54   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #76

Quote:
Originally Posted by Destro- View Post
".inl" ?
You may use any extension you want to. So, usually people sticky with .inc and .sma, but may be anything as .inl, .cpp, .h, .gg, etc.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 10-12-2016 , 11:17   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #77

Quote:
Originally Posted by Destro- View Post
what to do for that happen?
I can't reproduce.

Also add support for comment highlighting in preprocessor strings(#pragma, #if, #endif).
Mistrick is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-12-2016 , 12:12   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #78

Quote:
Originally Posted by Mistrick View Post
I can't reproduce.
So, it was one life time, or some times it pops up?

Quote:
Originally Posted by Mistrick View Post
Also add support for comment highlighting in preprocessor strings(#pragma, #if, #endif).
Just include the string context on the preprocessor context. But I tested and they are working:



Any ways, it should be like this:
Code:
  # "Pawn Directives"   pawn_directives:     - match: ^\s*#       scope: keyword.other.preprocessor.pawn       push:         - include: directive_include         - include: directive_define         - include: directive_others         - include: directive_invalid     - match: '%\d' # Colored %1 %2...       scope: keyword.other.preprocessor.group.pawn
    - include: pawn_coment
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

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

Last edited by addons_zz; 10-12-2016 at 13:19.
addons_zz is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 10-12-2016 , 12:25   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #79

addons_zz, Nothing changed
Click image for larger version

Name:	34523542352345c345.PNG
Views:	143
Size:	4.0 KB
ID:	157907

About error, I saw it one time. I not often look at console.
And something wrong with saving amxx.sublime-settings
Click image for larger version

Name:	43534c3563c534c534v5.png
Views:	64
Size:	66.8 KB
ID:	157908

Last edited by Mistrick; 10-12-2016 at 12:48.
Mistrick is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-12-2016 , 13:16   Re: [Editor] Sublime AMXX-Editor v2.2
Reply With Quote #80

Quote:
Originally Posted by Mistrick View Post
addons_zz, Nothing changed
Attachment 157907
Sorry, It was not that simple, but your screenshot helped.

This should do the job:



PHP Code:
FileData\Packages\amxmodx\AMXX-Pawn.sublime-syntax
097
:   directive_others:
098:     - match: (if|elseif|else|endif|endinput|undef|endscript|error|file|line|tryinclude|emit|pragma|assert)\s*(.*)
099:       captures:
100:         1keyword.other.preprocessor.define.pawn
101
:         2entity.name.constant.preprocessor
102
:       poptrue 
-->
PHP Code:
FileData\Packages\amxmodx\AMXX-Pawn.sublime-syntax
097
:   directive_others:
098:     - match: (if|elseif|else|endif|endinput|undef|endscript|error|file|line|tryinclude|emit|pragma|assert)
099:       scopekeyword.other.preprocessor.define.pawn
100
:       push:
101:         - meta_scopeentity.name.constant.preprocessor
102
:         - include: pawn_coment
103
:         - match: \n
104
:           poptrue 
Quote:
Originally Posted by Mistrick View Post
About error, I saw it one time. I not often look at console.
And something wrong with saving amxx.sublime-settings
Looks like you cannot provide relative directories form the `Sublime Text` data folder. They need to be full links.
  1. You could try to use a ./ as in: ./Data/blabla/amxx.exe
    . dot means the current directory, as .. double dot means the parent directory.
  2. You could try to use the `Sublime Text` build variables, but I think they are not available there.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

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

Last edited by addons_zz; 10-12-2016 at 13:25. Reason: misspelling
addons_zz is offline
Reply



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 10:29.


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