Open tofagerl opened 7 years ago
Thanks for reporting – this is indeed a bug. What actually should have happened is to display this warning:
This doesn't seem to be a valid Sublime Text snippet file. Aborting.
This is caused by the lack of a provided scope. Technically, the scope
is optional by Sublime Text's definition, but it's required when creating an Atom snippet. In a future version, this could be the same way that's used when converting Visual Studio Code snippets.
However, the next version might take some time to complete, since it will be based on node-atomizr
and there are still a couple of bugs to iron out – whenever I have time for this.
[Enter steps to reproduce:]
https://github.com/jeantimex/react-sublime-snippet/blob/master/React/Class%20Component.sublime-snippet
to AtomAtom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.6 Thrown From: atomizr package 0.23.1
Stack Trace
Uncaught TypeError: Cannot read property '_text' of undefined
Commands
Non-Core Packages