microsoft / ngconf2015demo

TodoMVC application demo for ng-conf 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[st3] Syntax highlighting is incorrect for interpolated strings

Taytay opened this issue · comments

The syntax highlighting does not appear to recognize interpolated strings as strings.
Try pasting the below into your TS file:

var str = `This throws the color off for the rest of the file: ', or until it gets to another apostrophe `);
var str2 = `In fact, the Github markdown has the same issue: ',now colors are back to normal. `);

On a related note: I'm excited to see such good TS editing in Sublime. I was just telling my team how good the intellisense is, the type inference, etc. Kudos.

Can you try again with 8d05370

Um, that's insane. I went to create a PR for this, and saw your new commit. On a Saturday. Minutes after my report.
Yep! That works very well. (Much better than my primitive attempt :) ) Thanks!
👍

Glad that helped :) have a good weekend!