-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not inserting brackets for else / else if #9
Comments
It should be noted that the following does work: if (something) {
}
else {
} Seems like there's an issue when there's already an function foo() {
} function bar() { Causes the same issue as originally issued. The latter one is okay seeing as that is hardly ideal code, but many code-standards say to have the |
I still have this issue. |
Issue is still there, it is also present for C and Rust. |
Bumping -- still facing the issue |
Whenever I write an if-statement, followed by an else or else if, it won't automatically complete the brackets for them when I press enter.
As can be seen in the gif below.
The text was updated successfully, but these errors were encountered: