rokucommunity / vscode-brightscript-language

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

Word "component" indents next line #558

Open TwitchBronBron opened 3 months ago

TwitchBronBron commented 3 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 2 months ago

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