tc39 / proposal-class-fields

Orthogonally-informed combination of public and private fields proposals
https://arai-a.github.io/ecma262-compare/?pr=1668
1.72k stars 113 forks source link

Tooling implementation status #57

Open vjpr opened 6 years ago

vjpr commented 6 years ago

Thought it would be a good idea to track that status of tools supporting this feature.

See all proposals

alippai commented 6 years ago

Should we open acorn, espree and esprima feature requests?

littledan commented 6 years ago

@alippai My understanding was that a lot of tooling had a policy of not implementing until Stage 4. This differs a bit from the policies of a number of web browsers, which may start implementing at Stage 3 and feel comfortable turning it on by default at Stage 4 (though some are more aggressive, and no one has everything in Stage 3 implemented). I'd recommend to tooling projects to adopt a similar policy. However, projects can do whatever they want; if they have a different policy, probably best to respect that in bug reports and keep a policy change discussion separate from these particular features.

alippai commented 6 years ago

Oh, indeed. You are totally right, stage 4 is required for acorn and espree :)

borela commented 6 years ago

As I am using many stage-x features in my projects, I coded a syntax for Sublime Text 3 https://github.com/borela/naomi which highlights even stage-0 features.

Thom1729 commented 6 years ago

Sublime's core JavaScript syntax now implements class fields (as of PR 1292).

adrianheine commented 6 years ago

acorn now has class fields support through acorn-class-fields.

littledan commented 6 years ago

This is all great to hear! Does anyone want to post a summary in the README? PRs welcome.

ephys commented 6 years ago

WebStorm has added support for class fields in the latest EAP

franktopel commented 4 years ago

@vjpr I assume this urgently needs a refresh?

littledan commented 4 years ago

@franktopel What updates do you see as needed?

franktopel commented 4 years ago

As far as I can see the current stable version 1.45.0 of VS Code already supports this syntax?

grafik

littledan commented 4 years ago

I checked the boxes for TypeScript and VSCode. Thanks for the ping. Any other updates needed?