Raised This Month: $7 Target: $400
 1% 

[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 06-06-2020 , 15:51   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #191

Quote:
Originally Posted by Celena Luna View Post
This happened after the update
That is the `Phantom` thing I was talking about on my last post. You can disable it with `enable_inteltip_calls`.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-06-2020 , 22:51   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #192

Quote:
Originally Posted by addons_zz View Post
That is the `Phantom` thing I was talking about on my last post. You can disable it with `enable_inteltip_calls`.
The problem is if I turn the 'enable_inteltip_calls' off, I can't see the param when I move my typing cursor at end of the function name and before the param (sorry my English is bad)

PHP Code:
client_print<put typing cursor here>(idprint_chat"Hello"
It used to show param when I did that which I really like.
__________________
My plugin:

Last edited by Celena Luna; 06-06-2020 at 22:52.
Celena Luna is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 06-06-2020 , 23:39   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #193

Quote:
Originally Posted by Celena Luna View Post
The problem is if I turn the 'enable_inteltip_calls' off, I can't see the param when I move my typing cursor at end of the function name and before the param
You can see the parameter by putting the mouse over the function name and waiting about 2 seconds:

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

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-07-2020 , 03:38   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #194

I usually use keyboard only while writing and don't usually use mouse at that time.
So to me at least, it is a bit inconvenience.
__________________
My plugin:
Celena Luna is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 06-07-2020 , 16:18   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #195

Quote:
Originally Posted by Celena Luna View Post
I usually use keyboard only while writing and don't usually use mouse at that time.
So to me at least, it is a bit inconvenience.
I did not have thought about this case. I just launched a new update creating the setting `enable_inteltip_name`. Now, if you enable this setting, it will show the tooltip when you move the cursor/caret over the function name as it was doing before.
__________________
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; 06-07-2020 at 16:19.
addons_zz is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-08-2020 , 05:21   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #196



I didn't see that option.
I closed the setting file and re-opened it, still didn't have it
I also tried to turn 'enable_inteltip_calls' to false and added `enable_inteltip_name` manually, it didn't' work

Edit: Also with 'enable_inteltip_calls',the inteltip won't disappear what so ever (even with custom one and the one from amx)
Custom (stock)
Spoiler


Amx
Spoiler


Edit2: This is all post update
__________________
My plugin:

Last edited by Celena Luna; 06-08-2020 at 07:04.
Celena Luna is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 06-08-2020 , 11:25   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #197

After disabling `enable_inteltip_calls`, just close and reopen the view/file and it will disappear.

Just add `"enable_inteltip_name": true` to your user settings and when the AmxxEditor update itself, it will start working.

You can force an immediate update by:
  1. Going to the menu `Preferences -> Browse Packages...`
  2. Deleting the directory `User/PackagesManager.cache`
  3. Deleting the file `User/PackagesManager.last-run`
  4. And restarting Sublime Text
  5. Now check the Sublime Text console `View -> Show Console`

A few seconds after Sublime Text finish loading, you should be able to see PackagesManager updating the packages. If this does not work, can you show the contents of the Sublime Text console?
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-08-2020 , 11:36   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #198

It works now. Thank you so much~
__________________
My plugin:

Last edited by Celena Luna; 06-08-2020 at 11:36.
Celena Luna is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-16-2020 , 08:27   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #199

Recently, I got a lot of sudden load and freeze while writing.
There are a lot of 'generating syntax summary' appear in console. (which everytime it freeze)
Also, There is this error when I check today
PHP Code:
generating syntax summary
Traceback 
(most recent call last):
  
File "D:\Sublime Text Build 3143 x64\sublime_plugin.py"line 478in run_callback
    expr
()
  
File "D:\Sublime Text Build 3143 x64\sublime_plugin.py"line 717in <lambda>
    
run_callback('on_hover'callbacklambdacallback.on_hover(vpointhover_zone))
  
File "C:\Users\SKon1\AppData\Roaming\Sublime Text 3\Packages\AmxxEditor\AmxxEditor.py"line 319in on_hover
    self
.show_popup(viewhtmllocationword_region)
  
File "C:\Users\SKon1\AppData\Roaming\Sublime Text 3\Packages\AmxxEditor\AmxxEditor.py"line 331in show_popup
    on_hide
=on_hide_hover
  File 
"D:\Sublime Text Build 3143 x64\sublime.py"line 1146in show_popup
    on_navigate
on_hide)
TypeErroran integer is required (got type NoneType
__________________
My plugin:
Celena Luna is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 06-16-2020 , 13:48   Re: [TUT] Compiling AMXX plugins with Sublime Text
Reply With Quote #200

I just launched an update fixing that error `TypeError: an integer is required (got type NoneType)`.

About the second index problem, I do not know what it is. Can you show the full contents of your console?

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:
  1. Wait until the problem happens for some time
  2. Open the menu `Tools -> Developer -> Profile Plugins`
  3. And post here the results of the profile

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

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz 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 05:49.


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