-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension Won't Load -- ms-dotnettools.csharp : Timed out while searching for 'workspaceContains' #4959
Comments
omnisharp-vscode v1.24.0-beta1 tried to simplify the glob for |
One thing that helped was removing a lot of projects / folders from my workspace. This brought the glob time down under 7 seconds, and Omnisharp was able to load. But now I need to create a whole bunch of other workspaces and switch between them frequently, so not ideal. Another thing that helped was just using a faster computer - but clearly that is not a scalable solution. |
Yep - just realized the reason i didn't have language server for c# running was this particular issue: [2022-08-17 11:31:57.203] [exthost] [info] Not activating extension 'Dart-Code.dart-code': Timed out while searching for 'workspaceContains' pattern /pubspec.yaml,//pubspec.yaml,.dart,/.dart,//.dart |
The WorkspaceContains glob has been further simplified since the last reports on this issue. If you are still having problems, please open a new issue. |
p.s., cannot use the extension to "prefill this information" because the issue I wish to report is that the extension won't load:
When I try to use the "prefill" command, the Error I see is
Command 'CSharp: Report an issue' resulted in an error (command 'csharp.reportIssue' not found)
synopsis
After vscode update to 1.63, the c# extension (ms-dotnettools.csharp, a.k.a omnisharp-vscode) refuses to load. Based on logs from the Extension Host, this seems to stem from a change in vscode 1.63 meant to avoid hangs when loading unresponsive extensions: https://code.visualstudio.com/updates/v1_63#_timeout-of-workspacecontains
additional context
workspaceContains
activation event + glob pattern - or a workaround setting or command to bypass that activation event.workspaceContains
timeout broke something else about glob patterns for that use case...Log (Extension Host)
Environment data
VS Code version:
C# Extension version:
OmniSharp log
Steps to reproduce
Check for updates
functionality to upgrade Visual Studio Code to v1.63Expected behavior
Continue to have functioning C# analyzers, hover tips, autocomplete, and dependency navigation.
Actual behavior
The omnisharp-vscode extension doesn't even load (Actually the extension is registered as
ms-dotnettools.csharp
)The text was updated successfully, but these errors were encountered: