IntelliSense is not working on Mac for Unity Project
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-preview1-002702)
Product Information:
Version: 1.0.0-preview1-002702
Commit Sha: 6cde21225e
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
VS Code version:
1.2.1 (1.2.1)
C# Extension version:
1.1.6
Steps to reproduce
- Open a Unity project with
.sln
and.csproj
files. - Click on a
.cs
file. - write
this.
in a member function of a class.
Expected behavior
Intellisense should have worked.
Actual behavior
No intellisense working out. The fire icon at the right bottom of the VS code window shows running all the time.
Here is Omnisharp’s log, if it would help:
[INFO] Starting OmniSharp at '/Users/user-name/work/ProjectName/ProjectName.sln'...
[INFO] Started OmniSharp from '/Users/user-name/.vscode/extensions/ms-vscode.csharp-1.1.6/.omnisharp/OmniSharp' with process id 11754...
OmniSharp: -s /Users/user-name/work/ProjectName/ProjectName.sln --hostPID 11743 dnx:enablePackageRestore=false --stdio
[INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '/Users/user-name/work/ProjectName' on host 11743.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/user-name/work/ProjectName
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: True
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references
[INFORMATION:OmniSharp.Startup] Configuration finished.
And the Unity version is 5.4.1
Let me know if more information is needed. Thanks in advance!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Intellisense Not Working with Visual Studio (Fix) - Unity Forum
Intellisense is not working in Visual Studio. ... In the Project view, right click on the script file and select "Open C# Project"...
Read more >Fixing Visual Studio's IntelliSense (auto-complete) in Unity
If IntelliSense still refuses to work, you can open the Unity Editor and head to Edit > Project Settings and access the Player...
Read more >Visual studio code Intellisense not working with Unity Engine?
Close the Visual Studio. Open the unity Preferences from the toolbar and select the external tools. Then, External Script Editor chose (Open the ......
Read more >Visual studio code autocomplete/intelliSense not working fix ...
Go to Window>Package Manager. Under Unity registry, find Visual Studio code editor and install the package if not installed already.
Read more >Intellisense not working on macos · Issue #5092 - GitHub
Omnisharp server running using Stdio at location '/Users/MacBook/Library/Mobile Documents/com apple CloudDocs/game development/Projects/Rocket ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please note this information on the project readme:
I’m currently in the process of producing a version of the C# Extension that attempts to bring back support for .csproj on OS X and Linux. If you’d be willing to test the extension once it’s ready, I’d be grateful.
@DustinCampbell Thanks for the quick response! The v1.1.7 works pretty well for me.
Only I got a warning when I was loading the project: (Although I think that was probably an environment issue of mine)
Thanks!