Raised This Month: $32 Target: $400
 8% 

[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 03-17-2019 , 14:01   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #161

Quote:
Originally Posted by OciXCrom View Post
How can I change it back? Or is there a good reason why you changed it?
No good reason. I think it was because once my Ctrl Key was bugged, then, I added the `Alt` modifier.

You can change it back by going on the menu: `Preferences -> Mouse Bindings` and add this to your mouse-bindings file:

Code:
[
    {
        "button": "button1", "count": 1, "modifiers": ["ctrl"],
        "press_command": "drag_select",
        "press_args": {"additive": true}
    },
]
Note: The menu entry `Preferences -> Mouse Bindings` is not available on the standard/default Sublime Text. Only in the one you installed from me/here.

Quote:
Originally Posted by iceeedr View Post
Currently the key that compiles is F7, how to switch it to F9 for example?
You can change it back by going on the menu: `Preferences -> Key Bindings` and add this to your key-bindings file:
Code:
[
    { "keys": ["f9"], "command": "fix_sublime_text_output_build" },
]
__________________
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; 03-17-2019 at 14:09.
addons_zz is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-11-2019 , 13:50   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #162

I can't install AMXX Menu again + those setting files are empty

__________________
My plugin:
Celena Luna is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-15-2020 , 19:12   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #163

The package is becoming pretty much unusable with the constant lag spikes happening. Whenever I open up Sublime, I need to wait 7-8 seconds for it to respond, this happens again after a few minutes of using it.

Please add an option to disable any constant generation or background checks that are happening in order to prevent this. The auto-generation is broken either way. I'm personally using it only for the syntax highlighting and compiler.
__________________

Last edited by OciXCrom; 03-15-2020 at 19:12.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 03-28-2020 , 19:42   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #164

Quote:
Originally Posted by Celena Luna View Post
I can't install AMXX Menu again + those setting files are empty
I just check the code, and it does not have any restrictions for its usage.

Can you also post the Sublime Text console output? (You can view the console by going on the menu `View -> Show Console`)

You can try running the command directly, by opening the Sublime Text console and running the command: `from AmxxEditor.install_main_menu import add_main_menu; add_main_menu()`




Quote:
Originally Posted by OciXCrom View Post
The package is becoming pretty much unusable with the constant lag spikes happening. Whenever I open up Sublime, I need to wait 7-8 seconds for it to respond, this happens again after a few minutes of using it.
I just launched an update where you can set the setting `live_refresh_delay` to 0. This will should prevent background threads from running.

In case it does not work for you, can you post here the contents of your Sublime Text console and open the menu `Tools -> Developer -> Profile Plugins` and post here the results too?

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

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-04-2020 , 14:45   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #165

The issue seems to have been fixed by itself after reinstalling Sublime (had to do it because a virus destroyed my computer lol).

I didn't even have to set the "live_refresh_delay" setting to 0.

Even the autofill seems to be working perfectly now.

It was probably a bug from an older build I was using.

Although I'm not using multiple compilers at the moment - maybe that caused the issue? I will test soon and let you know if there are problems.
__________________

Last edited by OciXCrom; 04-04-2020 at 14:46.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 04-04-2020 , 18:00   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #166

Quote:
Originally Posted by OciXCrom View Post
Although I'm not using multiple compilers at the moment - maybe that caused the issue?
It is hard to tell. If you had the contents of your Sublime Text console and the output of menu `Tools -> Developer -> Profile Plugins`, I think I could have a better idea about what was happening and fix it. But this would only help before you formatted your computer. Now everything is working fine these outputs would show nothing is wrong.

I think it could be working now because you did not configure yet the compiler include directory on the AmxxEditor settings?
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-04-2020 , 18:48   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #167

Unfortunately I got the worst kind of virus that deletes all files on your disk. I tried many ways of restoring them, but no luck.

I did configure the compiler and include folder for autofill and everything is working fine for now. I'll try to set up multiple compilers when I settle my computer and I'll let you know if problems start occuring again.

Thanks.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-04-2020 , 22:00   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #168

Sorry to interupt, but are there any settings available to setup a bindkey for compiling?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-05-2020 , 00:33   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #169

Quote:
Originally Posted by Napoleon_be View Post
Sorry to interupt, but are there any settings available to setup a bindkey for compiling?
Here
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-05-2020 , 08:10   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #170

Awesome thanks
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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 14:41.


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