Extraneous quote in include completion
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cpp, vscode
- Domain
- developer-experience
Research direction
Start by locating the include completion implementation and its tests in the repository; the issue does not name specific files. Check how the completion handles an opening quote when VS Code has already inserted the matching closing quote. Reproduce by accepting an include completion in VS Code and confirm the accepted text has no extra quote.
Written by the indexing model from the issue text.
Description
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:
Accepting the completion:
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
- Dominant language
- C++
- Stars
- 25
- Forks
- 2
- Avg merge
- 21h 5m
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Sunrisepeak/mcpp-language-server
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sunrisepeak/mcpp-language-server#66 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 1/100
Sunrisepeak/mcpp-language-server#77 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Sunrisepeak/mcpp-language-server#71 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Sunrisepeak/mcpp-language-server#59 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Sunrisepeak/mcpp-language-server#52 ·
Maintainers usually reply within 1 day
All issues in Sunrisepeak/mcpp-language-server
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
xiaoyifang/goldendict-ng#3148 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
triton-inference-server/server#9069 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 4 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100