Search Issue Tracker

Active

Votes

1

Found in [Package]

1.2.4

Issue ID

1364079

Regression

No

Visual Studio Code Intellisense is missing for newly added packages

Package: VS Code

-

Reproduction steps:
1. Create a new project
2. Install/update Visual Studio Code package
3. Set VSCode as a default code editor (Preferences -> External tools)
4. Create a new script, open and close it
5. Install any Package from the Package Manager
6. Open the script again and add some package reference (for example "using Cinemachine")

Expected result: IntelliSense shows suggestions for the package
Actual result: IntelliSense does not show suggestions for the package

Reproducible with: 1.2.4 (2019.4.32f1, 2020.3.21f1, 2021.1.27f1, 2021.2.0b17, 2022.1.0a14)

Notes: IntelliSense starts working again after regenerating project(this can be done in Editor Preferences->External tools -> Regenerate .csproj files / creating a new script / restarting Unity)

Comments (1)

  1. MihaPro_CarX

    Nov 01, 2021 08:20

    I will add on my own. Regenerating the project doesn't help. The problem is in the Windows file path written to csproj. Full description of the issue and suggested solution here: https://github.com/Unity-Technologies/com.unity.ide.vscode/issues/4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.