Skip to content

Extraneous quote in include completion #80

Closed

Description

@Stehsaer

Version

extension & server 0.0.20

Editor

vscode 1.145.2

Operating system

Debian forky/sid (Linux x64 7.1.12+deb14-amd64)

Build system

xmake

What happened

Extraneous quote found in the include completion. mcppls assumes that user didn't type the terminating quote, but in vscode, the editor automatically adds the quote to pair the opening quote.

Completion:
Image

Accepting the completion:
Image

Not tested on other IDEs.
No diagnostic bundle provided, this is an obvious bug.

What you expected

Remove the extraneous quote.

Diagnostic bundle

  • I attached the diagnostic bundle

Diagnostic report (only if there is no bundle)

Steps to reproduce

No response

Activity

  1. added
    bug
    on Nov 7, 2026
  2. self-assigned this
    on Nov 7, 2026
  3. Sunrisepeak commented on Nov 9, 2026

    @Sunrisepeak
    Owner

    问题已经修复, 更新到最新版本0.21.0尝试, 如果还有问题可以进行reopen反馈

  4. Stehsaer commented on Nov 10, 2026

    @Stehsaer
    Author

    版本0.21.0,未能正确修复,末尾的"仍然存在。尝试过重启vscode,无济于事。
    Image
    Image

  5. Stehsaer commented on Nov 11, 2026

    @Stehsaer
    Author

    测试了下,确定功能正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions