vscode-vim and omnisharp freezes because of enableImportCompletion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Steps to reproduce
- in settings.json enable import completion
omnisharp.enableImportCompletion: true
Expected behavior
I should be able to keep typing while omnisharp resolves intellisense with vscode vim.
Actual behavior
Omnisharp freezes until it resolves intellisense with vscode vim.
Additional context
vscode-vim and omnisharp clashes when you set omnisharp.enableImportCompletion: true. This did not exist before but now i have this issue.
Environment data
dotnet --info output:
.NET SDK (reflecting any global.json):
Version: 6.0.301
Commit: 43f9b18481
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /usr/share/dotnet/sdk/6.0.301/
Host (useful for support):
Version: 6.0.6
Commit: 7cca709db2
.NET SDKs installed:
3.1.420 [/usr/share/dotnet/sdk]
5.0.408 [/usr/share/dotnet/sdk]
6.0.301 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.26 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.26 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
VS Code version:
1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64
C# Extension version: v1.25.0
Vscodevim version: v1.23.0
OmniSharp log
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 26.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 27.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 28.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 29.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 30.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 31.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 32.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 33.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 34.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 35.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 36.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
No symbol found. File: /home/kubilay/Documents/dotnet-tutorials/jwt-new/AuthServer.Core/Entities/AppUser.cs, Line: 2, Column: 37.
Contributor 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.
Research direction
Start by reproducing the freeze with vscode-vim, OmniSharp, and omnisharp.enableImportCompletion set to true using the reported versions and environment. Inspect the interaction between completion handling and Vim input, using the supplied OmniSharp log as a symptom; done means typing remains responsive while import completion resolves.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100