atsushieno / vscode-language-review

Re:VIEW language Support for Visual Studio Code. / issue/PRは日本語でも対応できます
Other
43 stars 8 forks source link

Stop auto indentation after entering new line #12

Closed orangain closed 6 years ago

orangain commented 6 years ago

Problem

Currently, indentation is automatically inserted when entering new line after { character. As Re:VIEW language does not use indentation for control structure, this behavior is useless.

Changes

This PR removes brackets property from configuration. The change stops auto indentation behavior.

Before

before

After

after

Reference

https://code.visualstudio.com/docs/extensionAPI/extension-points#_contributeslanguages

brackets - Defines the bracket symbols that influence the indentation of code between the brackets. Used by the editor to determine or correct the new indentation level when entering a new line.

atsushieno commented 6 years ago

Thanks!