Search Issue Tracker

Fixed in 1.1.0

Votes

5

Found in [Package]

1.0.7

Issue ID

1174491

Regression

Yes

[VSCode Editor] Opening any file will open in VS Code instead of in the Editor

Package: VSCode

-

Opening a scene file for example opens in VS Code instead of in Unity Editor

1. Open Unity 2019.3.0a12
2. Start new project
3. Create 2+ scene files
4. Install VSCode Editor package
5. Change the External Script Editor tool in Preferences to VSCode
6. Select any of the created scenes in the Project View of the project

Reproducible with: 2019.2.2f1, 2019.2.3f1, 2019.3.0a12, 2019.3.0b1, 2020.1.0a1
Not reproducible with: 2017.4.32f1, 2018.4.7f1, 2019.2.1f1, 2019.3.0a1, 2019.3.0a11

  1. Response avatar

    Resolution Note (fix version 1.1.0):

    Update Visual Studio Code Editor package to version 1.1.0

Comments (4)

  1. 639120d743cf22dadf62c887295b1e26?d=mm

    JohnC_Unity

    Sep 06, 2019 16:57

    "Thankfully it seems to have been fixed in 2019.2.3f1, or by updating as above - not sure how to do that though."

    Head to Window > Package Manager. In the "Advanced" drop-down select "Show pre preview packages" 1.1.0 should appear under visual studio code package.

  2. 42190708a3674bc4aba3399be7fbbd0c?d=mm

    Macklin

    Aug 30, 2019 12:32

    Very annoying issue. I should mention it occurs not only with VS Code, but if any editor is set as the "External script editor" in the preferences. I tried it with Notepad++, Visual Studio, JetBrains Rider to name a few, all had the same issue. Thankfully it seems to have been fixed in 2019.2.3f1, or by updating as above - not sure how to do that though.

  3. 5b6d2e702b555b49688ada43070ea7e0?d=mm

    unayozan

    Aug 29, 2019 11:51

    VS Code 1.37.1 and Unity 2019.2.2f1, same issue. Anything I click opens in VS Code, Images, scenes, sounds.

  4. 8df5ec049aa3755572632c6e78491be2?d=mm

    Kreibich

    Aug 27, 2019 12:36

    This happens also with newer version of VS Code. I use VS Code 1.37.1 and I have the same problem.

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.