ChoicescriptIDE / ChoicescriptIDE/main

Smart indent matches partial command matches

Open
#133 4 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.