dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.86k stars 671 forks source link

Intellisense always Loading... #4080

Open jkleinecke opened 4 years ago

jkleinecke commented 4 years ago

Issue Type: Bug

Intellisense tries to work, but never moves past the Loading... text. Omnisharp logs do not indicate any errors or on-going activitiy.

Extension version: 1.23.2 VS Code version: Code 1.49.1 (58bb7b2331731bf72587010e943852e13e6fd3cf, 2020-09-16T23:21:17.533Z) OS version: Darwin x64 19.6.0

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 3, 2| |Memory (System)|32.00GB (3.60GB free)| |Process Argv|. --crash-reporter-id 21773cd3-da3e-428c-8301-33f6e312bc2f| |Screen Reader|no| |VM|0%|
wendellestradairely commented 4 years ago

I've been experiencing this for many months now. Intellisense is very slow compared to Visual Studio IDE.

JoeRobich commented 4 years ago

@jkleinecke Sorry you are seeing issues. Can you please share your OmniSharp log as well as the output from running dotnet --info?

jkleinecke commented 4 years ago

It's worth noting that it's working fine now. I think it has to do with opening up a folder that contains many solution files and switching between the projects. I've since run dotnet restore on all my projects and I'm no longer experiencing the issue.

Starting OmniSharp server at 9/22/2020, 1:07:59 PM Target: /Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService.sln

OmniSharp server started. Path: /Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/run PID: 32511

    Starting OmniSharp on MacOS 10.15.6 (x64)
    DotNetPath set to dotnet
    Located 1 MSBuild instance(s)
        1: StandAlone 16.8.0 -

"/Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild/Current/Bin"

    MSBUILD_EXE_PATH environment variable set to

'/Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild/Current/Bin/MSBuild.exe'

    Registered MSBuild instance: StandAlone 16.8.0 -

"/Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild/Current/Bin" CscToolExe = csc.exe MSBuildToolsPath = /Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild/Current/Bin CscToolPath = /Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild/Current/Bin/Roslyn BypassFrameworkInstallChecks = true MSBuildExtensionsPath = /Users/james/.vscode/extensions/ms-dotnettools.csharp-1.23.2/.omnisharp/1.37.1/omnisharp/.msbuild

    Detecting Cake files in

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service'.

    Could not find any Cake files
    Detecting projects in

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService.sln'.

    Queue project update for

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService/CrewService.csproj'

    Queue project update for

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewServiceTest/CrewServiceTest.csproj'

    Detecting CSX files in

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service'.

    Could not find any CSX files
    Invoking Workspace Options Provider:

OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Loading project:

/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService/CrewService.csproj

    Invoking Workspace Options Provider:

OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0

    Invoking Workspace Options Provider:

OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider:

OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider:

OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Configuration finished.
    Omnisharp server running using Stdio at location

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service' on host 31208.

    Successfully loaded project file

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService/CrewService.csproj'.

    Adding project

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewService/CrewService.csproj'

    Loading project:

/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewServiceTest/CrewServiceTest.csproj

    Successfully loaded project file

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewServiceTest/CrewServiceTest.csproj'.

    Adding project

'/Users/james/projects/slb-erc/core-service-layer/src/crew-service/CrewServiceTest/CrewServiceTest.csproj'

    Update project: CrewService
    Update project: CrewServiceTest

.NET Core SDK (reflecting any global.json): Version: 3.1.401 Commit: 39d17847db

Runtime Environment: OS Name: Mac OS X OS Version: 10.15 OS Platform: Darwin RID: osx.10.15-x64 Base Path: /usr/local/share/dotnet/sdk/3.1.401/

Host (useful for support): Version: 3.1.7 Commit: fcfdef8d6b

.NET Core SDKs installed: 2.2.107 [/usr/local/share/dotnet/sdk] 2.2.402 [/usr/local/share/dotnet/sdk] 3.0.100 [/usr/local/share/dotnet/sdk] 3.1.103 [/usr/local/share/dotnet/sdk] 3.1.302 [/usr/local/share/dotnet/sdk] 3.1.401 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download

On Tue, Sep 22, 2020 at 12:09 PM Joey Robichaud notifications@github.com wrote:

@jkleinecke https://github.com/jkleinecke Sorry you are seeing issues. Can you please share your OmniSharp log as well as the output from running dotnet --info?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/4080#issuecomment-696855963, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWZ3BERWIU6FTXZNAWB2JLSHDK4ZANCNFSM4RVCNG3A .