VS Code extension for indenting to open bracketsFork of https://github.com/briankendall/vscode-indent-to-bracket with added support for multiple cursors/selections.This is a minimal extension for VS Code that implements automatic indentation to the last open bracket / parenthesis. This is essentially the same feature as the Basically, when you type enter to create a new line, it automatically indents your code like this:
If any line ends with an open bracket of some sort, though, it still falls back on the default behavior for your current language. So it won't interfere with things like if statements or declaring functions with curly braces, and doing something like this still works:
Extension SettingsThis extension currently has no settings, and will affect all languages and document types. If this is an issue for you, feel free to request me adding some sort of setting like a whitelist or blacklist for particular file extensions. Release Notes1.2.1
1.1.0
1.0.1
1.0.0Initial release |