mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FIXED WEB-23872 JavaScript Indentation Problem with "var" over multiple lines
This commit is contained in:
+3
-1
@@ -195,9 +195,11 @@ public abstract class JavaLikeLangLineIndentProvider implements LineIndentProvid
|
||||
else if (position.isAt(RightParenthesis)) {
|
||||
position.beforeParentheses(LeftParenthesis, RightParenthesis);
|
||||
}
|
||||
else if (position.isAt(BlockClosingBrace)) {
|
||||
position.beforeParentheses(BlockOpeningBrace, BlockClosingBrace);
|
||||
}
|
||||
else if (position.isAtAnyOf(Semicolon,
|
||||
BlockOpeningBrace,
|
||||
BlockClosingBrace,
|
||||
BlockComment,
|
||||
DocBlockEnd,
|
||||
LineComment,
|
||||
|
||||
Reference in New Issue
Block a user