Commit Graph

86 Commits

Author SHA1 Message Date
2b9b72e98a fix blank check 2024-04-25 20:40:23 -04:00
26104bf738 re-enable blur 2024-04-25 20:33:42 -04:00
8afc480fad add return types 2024-04-25 18:51:12 -04:00
a9e9bf8aac fix blanks 2024-04-25 18:51:07 -04:00
d220f3e6f9 towards generic autocomplete 2024-04-25 18:31:14 -04:00
e531da615e cache autocomplete elements 2024-04-25 18:02:06 -04:00
12a2f54095 add fromProps 2024-04-25 16:08:53 -04:00
b542c4395e apply autocomplete colors to stscript codeblocks (hljs) 2024-04-25 15:45:58 -04:00
c16965730c add missing import 2024-04-25 15:45:33 -04:00
a4483a4419 add hljs to autocomplete help examples 2024-04-25 15:45:17 -04:00
3ff367a221 hljs stscript lang 2024-04-25 15:44:48 -04:00
613ab6834e jsdoc 2024-04-25 15:44:10 -04:00
f5956aade7 fix alias display in autocomplete list 2024-04-24 19:22:01 -04:00
1a6e2575a7 small screen styles 2024-04-24 17:50:41 -04:00
64ff604bba fix details position on initial input history 2024-04-24 13:59:17 -04:00
29fb222fec fix alias formatting 2024-04-24 11:40:58 -04:00
0fa4f5efc2 use autocomplete parts in /? slash 2024-04-24 11:36:44 -04:00
07f9160a3b move makeItem into option and command and fix click select 2024-04-24 09:10:09 -04:00
dadfe7b19d add autocomplete details tooltips 2024-04-23 18:18:04 -04:00
58a9937c99 don't prevent enter when selected item is fully typed out 2024-04-23 17:39:25 -04:00
b2fb833453 re-enable blur listener 2024-04-23 15:24:28 -04:00
fc088411d9 fix typo 2024-04-23 15:24:20 -04:00
7d155600ef use auto width for full details on floating autocomplete 2024-04-23 14:41:10 -04:00
7aad49fb83 re-enable blur event 2024-04-23 14:23:44 -04:00
5da8b177e6 fix floating details position on left 2024-04-23 14:19:03 -04:00
2f53455094 fix height 2024-04-23 14:03:10 -04:00
b90346b330 add range as argument type 2024-04-23 13:45:41 -04:00
441842cc91 fix alias in details 2024-04-23 12:47:45 -04:00
7328b24483 fix up dummy commands 2024-04-23 12:40:29 -04:00
1400f6eac4 add static fromProps 2024-04-23 12:40:17 -04:00
c4f424580e add comments 2024-04-23 11:05:24 -04:00
6ec508612e fix arrow navigation 2024-04-23 11:05:15 -04:00
48127eca28 fix ctrl+space 2024-04-23 11:05:01 -04:00
6dc5337952 move autocomplete into class and floating with details 2024-04-23 10:40:24 -04:00
226e14094c remove name from unnamed arg 2024-04-23 10:40:04 -04:00
d4b8094038 dirty more detailed cmd defs 2024-04-23 09:03:28 -04:00
0a05d3196b set parser flag without explicit state to "on" 2024-04-21 15:52:36 -04:00
8ac6c0c96a allow quoted values in unnamed argument 2024-04-21 15:49:36 -04:00
5a51f29ee1 add default parser flags to user settings 2024-04-20 10:01:44 -04:00
5220248bc4 deal with pipes in quoted values (loose escaping) 2024-04-20 09:25:48 -04:00
0ffe6f195e add parser flag REPLACE_GETVAR
Replaces all {{getvar::}} and {{getglobalvar::}} macros with {{var::}}.
Inserts a series of command executors before the command with the macros that:
- save {{pipe}} to a var
- call /getvar or /getglobalvar to get the variable used in the macro
- call /let to save the retrieved variable
- return the saved {{pipe}} value

This helps to avoid double-substitutions when the var values contain text that could be interpreted as macros.
2024-04-20 08:34:36 -04:00
c11a0df619 fix cutting off handled part in substitution 2024-04-20 08:31:19 -04:00
94fa19bd2d fix autocomplete select on blank / "no match" 2024-04-20 08:30:53 -04:00
c47a034b74 somewhat safer macro replacements 2024-04-20 07:39:01 -04:00
8fdf38a63f fix type annotations 2024-04-20 07:37:30 -04:00
1b1c9d2c9f add dummy commands for comments and parser flag 2024-04-20 07:09:42 -04:00
bc6ff9756a restore old escape handling and parser flag for strict escaping 2024-04-20 07:08:53 -04:00
fe81221c56 more escape fixes 2024-04-19 09:03:22 -04:00
e67443abb2 add index support to var macro 2024-04-18 17:41:39 -04:00
622ef24e7c add support for {{pipe}} and {{var::}} closures 2024-04-18 16:06:20 -04:00