tomkis / js-autoimport

atom autocomplete-plus provider which allows automatic ES6 modules
MIT License
18 stars 5 forks source link

Fails on ES7 decorators #3

Open tofagerl opened 9 years ago

tofagerl commented 9 years ago
@withStyles(styles)
class App {...

screenshot

tomkis commented 9 years ago

Thanks for the report. The problem is with the parser. Autoimport plugin uses acorn for AST tree parsing, however acorn supports only ES6 features at the moment.