Skip to content

[Bug]: 语句前方有注释时,提供的补全项有问题 #424

@liuxy0551

Description

@liuxy0551

Version

4.2.0

Which SQL?

Spark

SQL content

-- the comment
SELECT * FROM db.

JavaScript/TypeScript code

What happened?

wordRanges 返回的内容不对。SparkSQL、HiveSQL 可复现,其他 SQL 待验证

Image

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions