Commit Graph

68 Commits

Author SHA1 Message Date
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
f1b602d439 fix for escaping first character of value 2024-04-18 16:06:07 -04:00
10e786dfd3 don't run parser for getNameAt if text has not changed 2024-04-17 09:01:41 -04:00
acdfd10752 fix "/? slash" 2024-04-16 17:00:03 -04:00
63e88bc016 fix macros in scope copy 2024-04-16 16:46:47 -04:00
b68d5d922d remove unescaping of pipes 2024-04-16 16:46:00 -04:00
19e997ccbe fix scope macros 2024-04-16 16:45:25 -04:00
001b22bec0 improve performance 2024-04-16 16:44:48 -04:00
b36740d3a2 clean up autocomplete 2024-04-13 17:58:19 -04:00
3e50cffce5 escapes only for symbols 2024-04-13 16:11:49 -04:00
2e1a7b5811 throwing shit at the wall for /: autocomplete 2024-04-12 21:43:27 -04:00
18f7b29536 allow open quotes on dry run 2024-04-12 17:29:42 -04:00
271b73b7e4 escaping 2024-04-12 17:29:12 -04:00
ca6b9c5d63 fix JSDoc 2024-04-12 17:27:38 -04:00
dd4c7a2521 add some adjustments to make autocomplete work properly
some hint in there about "/:" would still be nice
2024-04-11 22:58:53 -04:00
03916bceec use parseQuotedValue and parseValue to determine name for "/:"
QR labels and set names can include spaces
2024-04-11 22:35:12 -04:00
c12a6fc94c use testRunShorthandEnd 2024-04-11 22:26:45 -04:00
f95e38e85a fix error message 2024-04-11 22:18:51 -04:00
fb97665f50 move shit around 2024-04-11 22:18:41 -04:00