-
Notifications
You must be signed in to change notification settings - Fork 202
Typescript backticks color highlighting inside #892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Backticks are purely a template string, there is no inherent language that is used between backticks. Maybe there is a solution to detecting the language between the ticks, but that may not be desirable to have as an added process. |
@zombiehippie As @albtdd presented, for angular 2 devs it will become a very desirable feature and its frustrating to not have a solution, when phpstorm/webstorm/intelli j idea have it out of the box already. I do not really like those programs as they are more memory heavy and the likes and it would be a very welcome feature if i want to stay with atom. So i hope someone does it a reality. |
Very interesting, and cool! It would be neat to have a toggleable syntax On Thu, 7 Apr 2016, 6:47 AM Petros Kyriakou [email protected]
|
Still waiting for this. |
Hey @Deviad , I took a swing at this for you as it was an incredibly easy fix, my update is one commit ahead of the latest release tag and I have published my alternative version on atom. https://atom.io/packages/atom-typescript-zh-backticks If you use this version, you may need to rename your config keys. I don't very much wish to create a pull request for this, as I'm not entirely sure the way I did it is the "best way". You can see my changes here: master...ZombieHippie:html-backticks |
@zombiehippie can you make this a standalone addon? |
@pitops it's possible to release as a language, but I don't have time, and I don't actually know if it would work separated from the main package. |
@zombiehippie Hello, thank you very much for the time you've dedicated to this modification. I really appreciate it. |
You're welcome, I hope it works without issues. Otherwise, you can probably On Tue, 19 Apr 2016, 1:28 PM Davide Pugliese [email protected]
|
Hi, #948 has added html-syntax-highlighting in Angular 2 Components. Is this solution suitable for you? Kinds |
yep this can be closed now, at last official support cheers! |
I am using atom-typescript v12 and it does not appear to have html-sytax-highlighting in components. Has this feature been removed since it was added in v8? |
We currently lack resources to support our own grammar fork, and it created conflicts with Atom's bundled typescript grammar. So we ultimately opted to discontinue our grammar and let Atom team handle the grammar on their end. Sorry. |
I have noticed that when using this with Angular 2 and i write inline templates, there is not syntax coloring everything is in the same color, is there a way to enable coloring inside backticks?
The text was updated successfully, but these errors were encountered: