Nimblesite / Nimblesite/SharpLsp
[Bug]: Completion inserts duplicate method name after . (e.g. Console.WriteLineWriteLine)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 132
- Forks
- 5
- Avg merge
- 6h 24m
- Merged PRs (30d)
- 27
Description
What happened?
When triggering member completion after a dot, the selected completion item is appended to the trigger text instead of replacing it, resulting in a duplicated identifier.
Steps to reproduce
Open a C# file in VS Code with the SharpLsp extension enabled.
Type Console.
From the completion list, select WriteLine.
Component
Not sure
Language
c#
SharpLsp version
0.15.0
Editor & OS
- Editor: Visual Studio Code - Insiders 1.108.0-insider (arm64, commit 0d1ac13bc4847cf870373727f12ae70ad6c6e500) - OS: macOS 26.5.2 (Apple Silicon / arm64) - .NET SDK: 11.0.100-preview.4.26230.115
Relevant logs
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No source file or test is named. First reproduce the issue in a C# file with SharpLsp enabled in VS Code by typing Console. and selecting WriteLine; then trace the member-completion handling. Done means the selected completion replaces the trigger text and produces Console.WriteLine rather than Console.WriteLineWriteLine.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100