atom-react
atom-react copied to clipboard
Enable ES6 snippets by default
Currently, ES6 snippets are mapped into keys *6
like props6
and ren6
.
Not sure this is possible, it would be great if there's an option of using ES6 snippets by default so that props
or ren
return the snippets of props6
and ren6
.
As an alternative, I'm using react-snippets where ES6 is enabled by default.
This would be great!
Think it should be an option in plugin config not to harm those people who still using ES5
.
Hi! I tried to find away to enable/disable (or even add) snippets from code but could not find any that didn't require horrible hacks. If I or we are unable to find a proper way to do it I think the best way to go is to at some point release a new major version with es6 as the default and add suffix to the es5 ones.
I think they can be even extracted into a separate package all together until https://github.com/atom/snippets/issues/55 has been implemented.
@oguzbilgic idea iss ok, but is it possible to inform all the users they should install extra package with snippets or include it as a dependency?
Hey guys, it's been a year. Is it time to update this yet?
I'd be willing to do a PR where stuff like cdr
would render the ES6 version and cdr5
would render the classic one. This might frustrate people using ES5 (not sure how many are left?) but since React officially encourages classes now I think it's time. We could do a major semver to account for the people who don't want the change.
Thoughts?
(It's been 3 years now)
@orktes Are you interested in letting me take over this project? I'm a big fan and I'd like to see it continue.
4 years now...
Is this plugin dead or dying? what's everyone else using nowadays?
Thanks
@fonziemedia I just assumed people have moved onto vs code, but I am still using this plugin. It appears to be updated for critical patches still?
@fonziemedia We could probably petition to take ownership. I know NPM allows that for dead projects. @orktes are you still around? maintaining? Interested in some help?
@framerate I don't have any experience with electron but would definetely be interested in helping out if you want to pick this up