Skip to content
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

target not support ES7 in jsconfig.json file #8495

Closed
jrieken opened this issue May 6, 2016 · 6 comments
Closed

target not support ES7 in jsconfig.json file #8495

jrieken opened this issue May 6, 2016 · 6 comments
Labels
Duplicate An existing issue was already created

Comments

@jrieken
Copy link
Member

jrieken commented May 6, 2016

From @welefen on November 20, 2015 5:48

target not support ES7 in jsconfig.json file

Copied from original issue: microsoft/vscode#311

@jrieken
Copy link
Member Author

jrieken commented May 6, 2016

From @scottaddie on November 21, 2015 2:54

@welefen Not sure if you noticed or not, but there is experimental support for ES7 decorators. In your jsconfig.json file, use the experimentalDecorators option:

{
    "compilerOptions": {
        "target": "ES6",
        "module": "commonjs",
        "experimentalDecorators": true
    }
}

That seems to be all the ES7 support you get at this time.

@jrieken
Copy link
Member Author

jrieken commented May 6, 2016

From @felixfbecker on November 21, 2015 17:45

What about async/await?! See #408

@jrieken
Copy link
Member Author

jrieken commented May 6, 2016

From @warpdesign on May 5, 2016 9:17

+1
Would love support for ES7 too.

Maybe it has changed since last year and there are new ES7-related options available ?

For example new function bind :: operator would be great.

@jrieken
Copy link
Member Author

jrieken commented May 6, 2016

moving this to TypeScript from which VS Code gets TS and JS smartness

@kitsonk
Copy link
Contributor

kitsonk commented May 6, 2016

Covered by #4692 which is committed but not aligned to a particular Milestone.

@mhegazy
Copy link
Contributor

mhegazy commented May 6, 2016

note that ES7 (aka ES 2016) is done. decorators, object literal spread rest, SIMD, async functions etc .. is not part of ES7/ES2016.

ES7/ES2016 only has exponentiation operator and array.include. I think what you are look for is ES Next target. this is tracked by #5361

@mhegazy mhegazy closed this as completed May 6, 2016
@mhegazy mhegazy added the Duplicate An existing issue was already created label May 6, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants