Skip to content

高亮块整体注释后导致后面的代码使用快捷键注释错误 #10

@pi-laoban

Description

@pi-laoban

插件信息

版本:v0.4.5

VsCode信息

版本: 1.64.1 (user setup)
提交: d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03
日期: 2022-02-07T17:16:22.147Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

正常情况

# 快捷键注释这行是正确的

SQL(f"""
-- beginsql
select * from balabla;
-- endsql
""")

# 快捷键注释这行是正确的

异常情况

# 快捷键注释这行是正确的

# SQL(f"""
# -- beginsql
# select * from balabla;
# -- endsql
# """)

-- 快捷键注释这行是错误的, 这里注释会使用SQL的注释符号进行注释   

异常的时候注释 不一定是 -- comment
有的时候还是 /* comment */

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions