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

[Editor] Sublime AMXX-Editor v2.2


Post New Thread Reply   
 
Thread Tools Display Modes
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-04-2016 , 11:00   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #41

You can do #include <dicksout.forharambe> if you so desire, extension means absolutely nothing to the compiler. .inl is the extension someone around these forums used once (I remember Diablo II mod used it) and suddenly people think it's some standard thing.

I don't see anything wrong in the picture you posted.

Last edited by klippy; 09-04-2016 at 11:01.
klippy is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-04-2016 , 11:22   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #42

You can include any text file, compiler does not care about extension.
__________________
HamletEagle is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-04-2016 , 12:03   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #43

Quote:
Originally Posted by icimaro1337 View Post
Do I can include .sma files like #include <file.sma> as <file.inl>? didn't tested, but i think this won't work...

Also found one more mistake, can't explain, but here pic
I tried to implement it on my theme, it is impossible to do it on Sublime Text.



Here you may see why: https://forum.sublimetext.com/t/how-...e-syntax/22392

Quote:
Originally Posted by addons_zz
this is because sublime can only run against the current line, but how to properly overcome it on this situation?
Quote:
Originally Posted by FichteFoll
There is no sane way to match the last register_cvar call where the opening parens only come after another 4 lines or even just the next line (looks horrendous anyway), so my recommendation is to just not do it.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-04-2016 , 16:36   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #44

This is getting ridiculous, a bunch of programmers around here, yet we still have to resort to this kind of things instead of creating a new editor for amxx/sourcemod... just saying, don't kill me lol
__________________
Depresie is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-04-2016 , 17:35   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #45

Quote:
Originally Posted by Depresie View Post
This is getting ridiculous, a bunch of programmers around here, yet we still have to resort to this kind of things instead of creating a new editor for amxx/sourcemod... just saying, don't kill me lol
Creating a new editor solely for AMX Mod X and SourceMod is a horrible idea (hence why AMXX Studio has failed and Arkshine stopped development of his Notepad++ fork).

The proper solution is to extend the current functionality of existing source code editors (preferably the one that you like best) because AMX Mod X and SourceMod are still just text-based languages that are extremely similar to other languages. I.e. there is nothing that AMX Mod X and SourceMod have that require any extremely special functionality.

If an existing source code editor is unable to accommodate custom languages then it's probably not a good general purpose source code editor. Personally, I've never needed more functionality from Notepad++ than I could add using the existing extendability features (user-defined languages, plugins, etc.).
__________________

Last edited by fysiks; 09-04-2016 at 17:36.
fysiks is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-04-2016 , 19:50   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #46

Quote:
Originally Posted by Depresie View Post
This is getting ridiculous, a bunch of programmers around here, yet we still have to resort to this kind of things instead of creating a new editor for amxx/sourcemod... just saying, don't kill me lol
Actually I was probably wrong, that thing should be possible, just not using a syntax file, but creating a Sublime Package (plugin/add-ons/add-in) to do the match apply the syntax.

Ok, tell us what do you need from a editor.
So, if it does not do it yet , It may be extended on Sublime Text within a package.

I liked Sublime because it is very portable and handy with its project, workspaces (switch project/workspace) and builds, with its settings and packages across Linux/Mac/Windows.
It is just not good to perform some operations as notepad++ is, hence on these cases I just launch Notepad++ do it and came back or just use both at same time.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
icimaro1337
Junior Member
Join Date: Jan 2016
Location: Moldova, Chisinau
Old 09-07-2016 , 10:01   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #47

Hi again!
Here is code
PHP Code:
enum _:PLAYER_DATA
{
    
Float:vCheckPointOrigin[3]
}
new 
g_ePlayerData[MAX_PLAYERS][PLAYER_DATA]; 
Here img, is it possible to cut this [3] from autocomplete?
icimaro1337 is offline
Send a message via Skype™ to icimaro1337
Old 09-08-2016, 01:35
Destro-
This message has been deleted by Destro-. Reason: this time not
icimaro1337
Junior Member
Join Date: Jan 2016
Location: Moldova, Chisinau
Old 09-08-2016 , 09:20   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #48

wrong msg... sry

Last edited by icimaro1337; 09-08-2016 at 09:29.
icimaro1337 is offline
Send a message via Skype™ to icimaro1337
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 09-25-2016 , 16:33   Re: [Editor] Sublime AMXX-Editor v2.0
Reply With Quote #49

Update 2.0

Quote:
- Bugs fixed
- News colors scheme! ( atomic / twlight / npp)
- Auto-increment version/build (formar: [v]{major}.{minor}.{build/revision-build}[b[eta]]) same that
__________________

Last edited by Destro-; 09-25-2016 at 16:40.
Destro- is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-25-2016 , 17:42   Re: [Editor] Sublime AMXX-Editor v2.0
Reply With Quote #50

You forgot to change the ver no above dwn link
__________________
Depresie 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 04:37.


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