Tooling implementation status
vjpr opened this issue ยท 12 comments
Thought it would be a good idea to track that status of tools supporting this feature.
- Flow - https://github.com/facebook/flow/releases/tag/v0.54.0
- TypeScript - microsoft/TypeScript#9950
- Babel (7.0.0-beta.48) - babel/babel#7842
- IntelliJ/Webstorm - https://youtrack.jetbrains.com/issue/WEB-27687
- Atom
- VSCode
- Sublime - sublimehq/Packages#1292
- Acorn - https://github.com/acornjs/acorn-class-fields
- Espree
- Esprima
Should we open acorn, espree and esprima feature requests?
@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.
Oh, indeed. You are totally right, stage 4 is required for acorn and espree :)
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.
acorn now has class fields support through acorn-class-fields.
This is all great to hear! Does anyone want to post a summary in the README? PRs welcome.
WebStorm has added support for class fields in the latest EAP
@vjpr I assume this urgently needs a refresh?
@franktopel What updates do you see as needed?
I checked the boxes for TypeScript and VSCode. Thanks for the ping. Any other updates needed?