hi, need some help here, much appreciated.
as a non programmer, please forgive my noob question.
is it possible to make the syntax auto completion only complete the main part, instead of send the whole syntax.
more specifically, just leave the part in red box.
thanks and stay safe!
sublime text syntax auto completion
- Delta Pythagorean
- Posts: 627
- Joined: 13 Feb 2017, 13:44
- Location: Somewhere in the US
- Contact:
Re: sublime text syntax auto completion
Well, you could:
In the auto completions file (AutoHotkey.sublime-completions) in the AutoHotkey package, you can add your own auto completions.
However you could modify the #IfWinActive line to be: {"trigger": "#IfWinActive", "contents": "#IfWinActive${1:, [ WinTitle}, ${2:WinText]}$0"},. So when you add the directive to your script you could just press enter and it'll overwrite it and remove the extra parameters.
On a side note:
The Sublime Text AutoHotkey package is kind of underdone and slightly outdated. I'm currently working on updating it and making it better overall.
In the auto completions file (AutoHotkey.sublime-completions) in the AutoHotkey package, you can add your own auto completions.
However you could modify the #IfWinActive line to be: {"trigger": "#IfWinActive", "contents": "#IfWinActive${1:, [ WinTitle}, ${2:WinText]}$0"},. So when you add the directive to your script you could just press enter and it'll overwrite it and remove the extra parameters.
On a side note:
The Sublime Text AutoHotkey package is kind of underdone and slightly outdated. I'm currently working on updating it and making it better overall.
[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat
Who is online
Users browsing this forum: Google [Bot] and 356 guests