atom / language-typescript

TypeScript language package for Atom
Other
21 stars 33 forks source link

Add HTML, CSS, GraphQL, SQL template tags #53

Closed bennypowers closed 4 years ago

bennypowers commented 4 years ago

Brings language-typescript in line with language-javascript.

See https://github.com/atom/language-javascript/pull/638/files

Requirements

Description of the Change

Adds html, css, sql, gql, and graphql template tags to to the parser.

Alternate Designs

don't highlight those templates

Benefits

Users can work with embedded languages

Possible Drawbacks

possible performance concerns?

Applicable Issues

bennypowers commented 4 years ago

This may also need work in grammars/typescript.json, I'm not sure

bennypowers commented 4 years ago

closing as irrelevant, what I thought was lack of support for html tags actually appears to be a bug related to static readonly field = foo syntax