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
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.
Comments (3)
-
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.
-
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...
-
Rickys1206
May 13, 2021 00:58
No me manda el correo para tener una cuenta
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
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.