These are chat archives for TypeStrong/atom-typescript

9th
Mar 2015
Vaughn Royko
@vaughnroyko
Mar 09 2015 05:35
TypeScript grammar/syntax highlighting doesn't appear to be working for me, is this actually implemented or not? I can't really find anything about it.
Basarat Ali Syed
@basarat
Mar 09 2015 06:55
Should work. Is implemented. All the screenshots you see are with this package alone. Did you get the installed successful message?
Vaughn Royko
@vaughnroyko
Mar 09 2015 06:59
Yep, everything is working great. Here's what I am seeing: http://screencast.com/t/Qo4qjIgSjO
Basarat Ali Syed
@basarat
Mar 09 2015 08:05
@vaughnroyko cool. Have fun :heartbeat:
Vaughn Royko
@vaughnroyko
Mar 09 2015 08:19
By working great, I meant everything but the grammar/syntax, hah. Was hoping to illustrate that in the screenshot.
Basarat Ali Syed
@basarat
Mar 09 2015 21:24
The screenshot shows grammar tokenization working correctly. I can keywords, identifiers etc.
Vaughn Royko
@vaughnroyko
Mar 09 2015 22:11
I don't get it. Identifier is just a generic class is it not? Compare this to JS: http://screencast.com/t/jUWbwXfFX - missing things like parameter, variable, definition, entity, class, method, boolean, etc.
Basarat Ali Syed
@basarat
Mar 09 2015 23:57
@vaughnroyko yes. It is not as powerful as the JS one.
this does mean that we are super fast Try opening lib.d.ts to see what I mean
Try opening a js file of similar size and you will see a noticeable difference (due to lots of regex processing).