Skip to content

editor:// script: document ECMA version used on Windows #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tracy/en/open-files-in-ide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,14 @@ In order to open links generated on other servers, such as a production server o
mappings: {
// remote path: local path
'/var/www/nette.app': 'W:\\Nette.web\\_web',
'/var/www/another.nette.app': '\\\\wsl$\\Debian\\var\\www\\another.nette.app'
}
```

.[caution]
The `open-editor.js` is executed with **WSH/JScript 5.8** engine which is frozen at **ECMA-262 3rd Edition (1999)**.
Therefore modern JavaScript syntax like **let**, arrow functions or comma after last object element wouldn't work and **editor://* protocol will fail to open the editor.


Linux
=====
Expand Down