natanfudge / Auto-Using

Visual Studio Code extension that auto imports and provides auto complete for available imports in C#
https://marketplace.visualstudio.com/items?itemName=Fudge.auto-using
GNU Lesser General Public License v3.0
37 stars 7 forks source link

IDE becomes unresponsive with the latest version of omnisharp-vscode #12

Closed hamish-milne closed 5 years ago

hamish-milne commented 5 years ago

Repro steps:

Expected outcome:

Actual outcome:

natanfudge commented 5 years ago

I'll look into resolving this now. Although I intend to not keep supporting this project in the future in favor of an official solution that was already provided for the Roslyn API. Please thumbs up this issue: OmniSharp/omnisharp-roslyn#1482 so we can get this as soon as possible in the officlal VSCode C# extension,

garfbradaz commented 5 years ago

Happening for me as well. I had to disable the extension. Here is the Developer Tool logs:

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3313 [Extension Host] debugger listening on port 26826
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3187 [ms-toolsai.vscode-ai]: Command `vscodeai.azureml.submitLastJob` appears multiple times in the `commands` section.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.fsharp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/fsharp/syntaxes/fsharp.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/ionide.ionide-fsharp-3.38.0/syntaxes/fsharp.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/ms-azure-devops.azure-pipelines-1.152.0/syntaxes/yaml.tmLanguage.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Users/garethb/.vscode/extensions/ms-azure-devops.azure-pipelines-1.152.0/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/redhat.vscode-yaml-0.4.1/syntaxes/yaml.tmLanguage.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Executing activate
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Extension "vscode-peacock" is now active!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] (13/06/2019, 14:36:15) [ExtensionActivated] Extension has been activated!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] (13/06/2019, 14:36:15) Spinning up telemetry client for id azure-pipelines, version 1.152.0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Starting server with command: /Users/garethb/.vscode/extensions/josephwoodward.vscodeilviewer-0.0.1/server/ilViewer.WebApi.dll

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] [Info] 
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Closing server

workbench.main.js:238 [Extension Host] Event[file] 1 - /Users/garethb/code/test.ef.console2/TestContext.cs
workbench.main.js:3187 [ms-toolsai.vscode-ai]: Command `vscodeai.azureml.submitLastJob` appears multiple times in the `commands` section.
workbench.main.js:238 [Extension Host] Event[file] 1 - /Users/garethb/code/test.ef.console2/TestContext.cs
workbench.main.js:1405  WARN Aborted onWillSaveTextDocument-event after 1750ms
workbench.main.js:3311 Extension Host
workbench.main.js:1405  WARN UNRESPONSIVE extension host, 'Fudge.auto-using' took 100% of 5173.467ms, saved PROFILE here: '/var/folders/r6/32wsj3gd0q3gjsjrt0mkn24h0000gn/T/exthost-776ee6.cpuprofile' [{…}]0: {id: "Fudge.auto-using", total: 5168673, percentage: 100}length: 1__proto__: Array(0)
natanfudge commented 5 years ago

It should be fixed now with this.
You can update now.