ChoicescriptIDE / ChoicescriptIDE/main
Smart indent matches partial command matches
Open
bug
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
The basic-language support in ChoicescriptIDE/monaco-editor defines the "smart" indentation behaviour based on RegExes.
Whilst implementing *ifid I noticed that it's incorrectly treated as a indenting command, because the 'if' part is matched.
Unfortunately this seems to extend to invalid commands as well, for e.g.:
*ifishouldnotiwouldnot
Will trigger an automatic indent.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.