Explore removing brackets of language configuration file from the string/regex before evaluating indentation #209862
Labels
editor-autoindent
Editor auto indentation issues
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
on-testplan
Milestone
In relation to #209519
In the case of a single line string, or a string that appears in conjunction with other tokens on a line, we would like to remove the brackets of the language configuration file from the string, before evaluating the indentation rules on that stripped string. We want to do this to avoid indenting in cases such as the following:
const aString = 'function f() {'
Do the same for brackets inside of the regexes.
The text was updated successfully, but these errors were encountered: