Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Unable to set the ECMAScript language compatibility #7

Open
SirIle opened this issue Apr 27, 2021 · 1 comment
Open

Unable to set the ECMAScript language compatibility #7

SirIle opened this issue Apr 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@SirIle
Copy link

SirIle commented Apr 27, 2021

When the extension is enabled, it very proactively tries to parse all the projects in the VSCode workspace. If the projects use a newer ECMAScript for JavaScript with for example import-commands, they are all marked as having syntax errors. After digging a bit I found that there is a configuration parameter that could be set as the server starts up (for example --js.ecmascript-version=2019) but I didn't find any way to set it. Did I miss something or is there another way to enable the compatibility?

@MartinBalin MartinBalin added the enhancement New feature or request label Apr 29, 2022
@frank-dspeed
Copy link

frank-dspeed commented Dec 4, 2022

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants