Skip to content
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

Intellisense is extremely slow to load #5776

Closed
klong15 opened this issue Apr 25, 2016 · 2 comments
Closed

Intellisense is extremely slow to load #5776

klong15 opened this issue Apr 25, 2016 · 2 comments

Comments

@klong15
Copy link

klong15 commented Apr 25, 2016

  • VSCode Version: 1.0.0
  • OS Version: OSX Yosemite 10.10.5
  • Unity Version: 4.6.9f1
  • VSCode Unity Plugin: 2.50-RELEASE

I set up VSCode with Unity by following the guide here: https://code.visualstudio.com/docs/runtimes/unity

When using VSCode everything works great, the only problem is that intellisense takes many minutes to load when ever I do a single line of change. Reference counts go away. Autocomplete stops working. Jumping to declarations don't do anything, then it will jump to the declaration about 5 minutes after I clicked the action. Just hitting enter to start typing on a new line messes everything up.

How can I speed up load times for this? Did I set something up wrong?

Mono should be up to date. I updated dnvm stuff suggested by some stackoverflow post. When I do 'dnvm list' on terminal, I get this:

Active Version              Runtime Architecture OperatingSystem Alias
------ -------              ------- ------------ --------------- -----
       1.0.0-rc1-update2    coreclr x64          darwin          
  *    1.0.0-rc1-update2    mono                 linux/osx       default

I don't get any actual errors. I will get a message when ever I make a change saying, "Some projects had trouble loading. Please review the output for more details." The omnisharp log for this is:

[INFO] Starting OmniSharp at 'PROJECTPATH/client-csharp.sln'...
[INFO] Started OmniSharp from '/Users/KingKlong/.vscode/extensions/ms-vscode.csharp-0.3.7/bin/omnisharp' with process id 91421...
[INFORMATION:OmniSharp.Startup] Omnisharp server running using stdio at location 'PROJECTPATH' on host 90813.
[INFORMATION:OmniSharp.Dnx.DnxPaths] Using runtime '/Users/KingKlong/.dnx/runtimes/dnx-mono.1.0.0-rc1-update2'.
[INFORMATION:OmniSharp.Dnx.DnxProjectSystem] Scanning 'PROJECTPATH' for DNX projects
[INFORMATION:OmniSharp.Dnx.DnxProjectSystem] No project.json based projects found
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] Detecting projects in 'PROJECTPATH/client-csharp.sln'.
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] Loading project from 'PROJECTPATH/Assembly-CSharp-firstpass-vs.csproj'.
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] Loading project from 'PROJECTPATH/Assembly-CSharp-vs.csproj'.
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] Loading project from 'PROJECTPATH/Assembly-CSharp-Editor-firstpass-vs.csproj'.
[INFORMATION:OmniSharp.MSBuild.MSBuildProjectSystem] Loading project from 'PROJECTPATH/Assembly-CSharp-Editor-vs.csproj'.
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Detecting CSX files in 'PROJECTPATH'.
[INFORMATION:OmniSharp.ScriptCs.ScriptCsProjectSystem] Could not find any CSX files
[INFORMATION:OmniSharp.Startup] Solution has finished loading

Also, the flame icon on the bottom right corner says "0 projects". When I click on it, it lists two .sln files. One is client.sln . The other is client-csharp.sln. When I click either of them, they seem to work the same. The flame icon will still say "0 projects" after I click either of them. The guide says to click the -csharp one, but other stackoverflow posts say to choose the other. Which one should I be clicking?

@bpasero
Copy link
Member

bpasero commented Apr 26, 2016

@jrieken please decide if this issue should be moved

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Apr 26, 2016
@jrieken jrieken removed the bug Issue identified by VS Code Team member as probable bug label Apr 26, 2016
@jrieken jrieken removed their assignment Apr 26, 2016
@jrieken
Copy link
Member

jrieken commented Apr 26, 2016

This issue was moved to dotnet/vscode-csharp#246

@jrieken jrieken closed this as completed Apr 26, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants