提交 60305daa 编写于 作者: S serge-rider

#803 Token formatter fix (no spaces between consequent symbols)

上级 2cb44623
......@@ -320,6 +320,10 @@ public class SQLTokenizedFormatter implements SQLFormatter {
// Do not add space between name and value [JDBC:MSSQL]
continue;
}
if (token.getType() == TokenType.SYMBOL && prev.getType() == TokenType.SYMBOL) {
// Do not add space between symbols
continue;
}
argList.add(index, new FormatterToken(TokenType.SPACE, " ")); //$NON-NLS-1$
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册