Commit Graph

51 Commits

Author SHA1 Message Date
36dfbd4cbe Add rawQuotes to override with named arg (#4032) 2025-05-24 00:35:58 +03:00
bdcf9b088e Revert "Fix backward compatibility with escaped leading quote"
This reverts commit deb13e9c97.
2025-03-28 21:00:02 +02:00
deb13e9c97 Fix backward compatibility with escaped leading quote 2025-03-28 10:29:32 +02:00
533aeffa36 Add opt-in for rawQuotes in SlashCommand registration
Closes #2739
Supersedes #2921
2025-03-27 23:22:38 +02:00
0af4a3ebd7 Fix unfixable lints 2025-03-19 21:10:42 +02:00
1f66bc7756 Don't allow duplicate registrations 2025-01-11 23:18:03 +02:00
1dccb08cd6 Add enumerator for MacrosParser 2025-01-11 19:04:36 +02:00
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
cf42c4044e add missing start/end named arg index to /: 2024-07-27 12:50:30 -04:00
590e1e39d8 hljs refinements 2024-07-23 20:49:29 -04:00
4556684e76 there might not be a first or last value in the unnamed arg list 2024-07-20 16:41:01 -04:00
bff5977f02 don't need regex symbol here 2024-07-20 12:01:00 -04:00
7ab09c6432 fix unclosed block comment infinite loop 2024-07-20 12:00:50 -04:00
df19c98e9f add syntax highlight for pipes and pipe breaks 2024-07-16 16:27:51 -04:00
db1094e391 add block comments with shortcut and breakpoint shortcut 2024-07-14 18:58:13 -04:00
b74600605c add syntax highlight for /import 2024-07-12 14:09:05 -04:00
182da4c466 fix startUnnamedArgs 2024-07-10 22:38:50 -04:00
4396d31d09 better quoted unnamed arg handling 2024-07-10 20:53:09 -04:00
977d98e7e8 add /import to import closures from other QRs 2024-07-10 19:52:13 -04:00
490b2004b7 update /break help 2024-07-04 16:52:58 -04:00
6193b6590e add /break value 2024-07-04 12:26:58 -04:00
afb849cfb6 fix REPLACE_GETVAR nesting issues 2024-07-04 11:48:31 -04:00
173c5ef53e step into closures from elsewhere (draft) 2024-06-27 11:49:12 -04:00
676472f13d fix run syntax highlight 2024-06-25 23:18:48 -04:00
ccbc78ed41 add missing scopeIndex entries
fixes missing scoped vars in /: auto complete
2024-06-25 22:54:03 -04:00
1fc34bd387 remove empty first string and last string from unsplit list-parsed unnamed argument 2024-06-25 21:06:27 -04:00
b730aac8f7 make /break and /breakpoint show up properly with autocomplete details 2024-06-24 17:18:00 -04:00
0994de63b7 remove unnecessary escape 2024-06-24 16:54:40 -04:00
916c7f1738 add command source indicator 2024-06-24 16:44:51 -04:00
c4c3218424 add /break to break out of loops 2024-06-24 08:42:10 -04:00
b6da9fecf9 add count to split unnamed args 2024-06-23 18:17:01 -04:00
ca0843152c highlight /breakpoint 2024-06-23 15:21:20 -04:00
00652cce0a add ctrl+click breakpoints 2024-06-23 15:16:55 -04:00
13496cfb3a trim start of first and end of lat value part in unsplit unnamed arg (analog to pure text arg) 2024-06-23 14:26:57 -04:00
4ca0cb2aeb Merge branch 'staging' into parser-followup-2 2024-06-23 11:37:00 -04:00
9ae0591e3f indicate pipe, var and getvar command in replaceGetvar 2024-06-23 11:30:34 -04:00
ed8f923b7a add /breakpoint to command list and block it 2024-06-20 15:52:26 -04:00
9b3cd719d7 track index in getvar replacement 2024-06-20 15:52:08 -04:00
461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
eb02ca95f9 debugger basics rough 2024-06-18 14:29:29 -04:00
4463a20b35 fix whitespace check 2024-06-16 09:06:53 -04:00
cefb9a10dc add autocomplete for multiple unnamed args 2024-06-16 08:45:04 -04:00
8d8a41d912 add scope to enumProvider 2024-06-16 08:44:04 -04:00
51d7ba728f Tag commands enum providers 2024-06-16 02:59:37 +02:00
Len
5cb319771d Parser followup (#2377)
* set pipe to empty string on empty closure

* fix missing parser flags and scope

* add closure serializing

* add enum provider function to slash command arguments

* add enum providers for /bg, /ask, and /go

* fix index out of bounds returning undefined

* keep whitespace as is in mixed unnamed args (string+closure)

* add _hasUnnamedArgument to named arguments dictionary

* allow /var key=x retrieval

* add enum provider to /tag-add

* fix typo (case)

* add option to make enum matching optional

* add executor to enum provider

* change /tag-add enum provider to only show tags not already assigned

* add enum provider to /tag-remove

* fix name enum provider excluding groups

* remove void from slash command callback return types

* Lint undefined and null pipes

* enable pointer events in chat autocomplete

* fix type hint

---------

Co-authored-by: LenAnderson <Anderson.Len@outlook.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-15 00:48:41 +03:00
8b776491e8 fix endOfText
current char must be whitespace as well
2024-05-19 15:52:30 -04:00
4a25821aba remove todo 2024-05-19 06:38:59 -04:00
e49317a73c fix empty unnamed arg assignment start 2024-05-18 14:48:50 -04:00
1dec93de8a Fallback for old safari 2024-05-14 23:28:52 +03:00
492f857012 Remove console spam 2024-05-13 23:16:33 +03:00