Search Issue Tracker

By Design

Votes

1

Found in [Package]

2.0.0

Issue ID

VS-13

Regression

Yes

[Scripting] Javascript file doesn't open up along with "JScript compilation error" on opening it from the project view

Package: Visual Studio

-

JavaScript file doesnt open in external application along with "JScript compilation error" on opening it from the project view. Refer attached screenshot.

Steps to repro:
1. Create a new Project
2. Import any javascript file
3. Window > Package Manager > Visual Studio Editor > Install
4. Double-click on Project window > Assets > javascript file

Actual Result:
Unable to open the javascript file in the external application from the project view.

Expected Result:
javascript file opens up in the external application.

Reproducible with:2020.1.0a15

Working Fine with: 2020.1.0a14, 2019.3.0f1

Package Found version: 2.0.0

Working Fine Package version: 1.0.11.

Environment: Only on Windows 10.

 

  1. Resolution Note:

    In this case the user will have add javascript files to the extensions supported. This can be done Project Settings > Editor under Additional extensions to include for Visual Studio.

    For Rider and VSCode this can be done under Preferences > External Tools. Adding to the Extensions Handled here will do the same as above for VS.

Comments (3)

  1. Barns12

    Apr 12, 2022 17:38

    Have you already tried to fix this problem yourself? I just know only one way to fix the problem when the page does not work with Javascript. Here in this article HTTPS://sitechecker.pro/site-audit-issues/page-broken-javascript-files/ , the reasons for which such an error occurs are described in detail, and at the end of the article, it is described how everything can be fixed.

  2. JaneFoster

    Apr 12, 2022 17:20

    And about how to fix the problem when the page does not work with Javascript, can you advise something? I don't know how to fix this error...

  3. Rickys1206

    May 13, 2021 00:58

    No me manda el correo para tener una cuenta

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.