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
Describe the bug
When this plugin is enabled, creating a block of code (e.g. if (someCondition) {}) and breaking a line in braces will break two lines.
To reproduce
Open a javascript file (or typescript file).
Enter code block on a single line. (e.g. if (someCondition) {})
Press Enter within braces.
Bug : Line breaks will be on two lines.
if (someCondition) {
// expected blank line
// not needed
}
Expected behavior
If a line break occurs within the braces, it will be a single line break.
// before
if (someCondition) {}
// press `Enter` within braces
if (someCondition) {
}
Screenshots
Enter code block on a single line.
Press Enter within braces. (Doc comment at the end of the line)
Describe the bug
When this plugin is enabled, creating a block of code (e.g.
if (someCondition) {}
) and breaking a line in braces will break two lines.To reproduce
if (someCondition) {}
)Enter
within braces.Expected behavior
If a line break occurs within the braces, it will be a single line break.
Screenshots
Enter
within braces. (Doc comment at the end of the line)Your Environment
The text was updated successfully, but these errors were encountered: