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
I've got two problem with formatting comments and non-latin aliases
After formatting, for each cyrillic simbol in alias, space is added
If comment starts with SQL statements, then '--' is replaced by two minuses
select t.column1 Кириллица_cyrilic_alias
, t.column2 Latin_alias
from db_table t
where a >= some_date1 -- from
and a < some_date2 -- to
and b >= some_date3 -- and
and b < some_date4 -- where, select etc.
and 1 = 1
Steps to Reproduce (For bugfixes)
Create a .sql file with file content type set as SQL
Put those simple queries into the file
Apply format document command
Expected behavior: [What you expected to happen]
select
t.column1 Кириллица_cirilic_alias,
t.column2 Latin_alias
from
db_table t
where
a >= some_date1 -- from
and a < some_date2 -- to
and b >= some_date3 -- and
and b < some_date4 -- where, select etc.
and 1 = 1
Actual behavior: [What actually happened]
select
t.column1 К и р и л л и ц а _cirilic_alias,
t.column2 Latin_alias
from
db_table t
where
a >= some_date1 - -
from
and a < some_date2 - - to
and b >= some_date3 - -
and
and b < some_date4 - -
where,
select
etc.
and 1 = 1
Versions
Version: v0.15.0 (vscode 1.26.1)
OS: Win10
SGDB: MySQL
The text was updated successfully, but these errors were encountered:
Issue Type
Prerequisites (For bugfixes)
Description
I've got two problem with formatting comments and non-latin aliases
Steps to Reproduce (For bugfixes)
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
The text was updated successfully, but these errors were encountered: