Open aiday-mar opened 5 months ago
To specify that we want to outdent twice, we can introduce a new enum value: IndentByNumberOfCaptureGroups, which will indent the number of times capture groups are detected from the regex test. If the regex is appropriately crafted, we could make it return 2 capture groups for the case above.
Consider the following code:
Where the dots represent whitespaces. If you run
Reindent Lines
this will not change the indentation of the code, because the current language configuration file does not allow indentation and outdentation by more than 1 unit.