d220f3e6f9
towards generic autocomplete
2024-04-25 18:31:14 -04:00
3ff367a221
hljs stscript lang
2024-04-25 15:44:48 -04:00
0fa4f5efc2
use autocomplete parts in /? slash
2024-04-24 11:36:44 -04:00
7328b24483
fix up dummy commands
2024-04-23 12:40:29 -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
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
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
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
7a5b6b4177
add "/:name" as shorthand for "/run name" after all
2024-04-11 22:18:24 -04:00
43dd251ca1
remove some logging
2024-04-11 14:34:47 -04:00
448b812faa
fix /? slash
2024-04-11 14:31:09 -04:00
18b851f77f
add double pipe a pipe breaker
2024-04-09 20:11:30 -04:00
d1682350e3
fix alias list in help string
2024-04-07 16:50:04 -04:00
3b545a7ab1
use /run to call closures and no arguments on immediate closures
2024-04-02 12:47:11 -04:00
d826eb43d4
add callable closure vars
2024-04-02 08:48:41 -04:00
364f802282
fix typo
2024-03-29 14:47:09 -04:00
1c7b76746d
use non-whitespace for command names
2024-03-29 12:26:22 -04:00
4b29618dc2
add stscript language to hljs
2024-03-29 11:44:29 -04:00
59646ea4f9
add support for named arguments for closures
2024-03-29 10:04:25 -04:00
98da994e03
disable command name check of getCommandAt
2024-03-29 08:41:31 -04:00
da6372cf86
add fuzzy and include matching for autocomplete
2024-03-25 10:44:52 -04:00
376a83511c
basics for new parser
2024-03-25 08:53:36 -04:00