rokucommunity / vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language
MIT License
112 stars 40 forks source link

Word "component" indents next line #558

Open TwitchBronBron opened 7 months ago

TwitchBronBron commented 7 months ago

component-indent

it shoudn't do this. our regex should be smarter to figure out only indentation when the actual statements match (function with parens, if with condition, component with name, etc...)

shortad commented 7 months ago

+1, I also experience this with certain keywords e.g. class even though I'm not working with Brighterscript ☹️