You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vscode-dotty: Auto-indentation support for brace-less syntax
By default, vscode knows how to auto-indent code with braces, e.g.
given:
if (foo) {
pressing "Enter" will add one level of indentation. Similarly, entering
a closing brace can unindent a line.
Ideally, we'd like to do something similar with the brace-less syntax.
This commit is a first attempt at doing so by using the built-in support
in vscode for defining indentation patterns. Proper automatic
unindentation seems much harder to achieve.
0 commit comments