Skip to content

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

Closed

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

Activity

  1. self-assigned this
    on May 15, 2025
  2. qinyouzhi commented on May 23, 2025

    @qinyouzhi

    这个有进展了吗

  3. liuxy0551 commented on May 23, 2025

    @liuxy0551
    CollaboratorAuthor

    这个有进展了吗

    目前还在修改中,预计未来一周有进度

  4. liuxy0551 commented on May 29, 2025

    @liuxy0551
    CollaboratorAuthor

    经过确认仅在 SparkSQL 和 HiveSQL 中存在问题:在注释后方补全时会出现异常。

    Image Image
  5. added 3 commits that reference this issue on May 29, 2025
  6. qinyouzhi commented on Jun 5, 2025

    @qinyouzhi

    @liuxy0551 啥时候能发布。这个影响比较大

  7. added a commit that references this issue on Jun 5, 2025
  8. mumiao commented on Jun 5, 2025

    @mumiao
    Collaborator

    check: #426

  9. qinyouzhi commented on Jun 5, 2025

    @qinyouzhi

    monaco-sql-languages 也同步更新下吧 @mumiao

  10. mumiao commented on Jun 6, 2025

    @mumiao
    Collaborator

    monaco-sql-languages 也同步更新下吧 @mumiao

    monaco-sql-languages@0.15.1

  11. liuxy0551 commented on Jun 6, 2025

    @liuxy0551
    CollaboratorAuthor
  12. added a commit that references this issue on Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions