Skip to content
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

Feature Request: Syntax Highlighting #27

Open
shaneparsons opened this issue Jun 7, 2016 · 1 comment
Open

Feature Request: Syntax Highlighting #27

shaneparsons opened this issue Jun 7, 2016 · 1 comment

Comments

@shaneparsons
Copy link

Syntax highlighting is a key feature this plugin needs. Handling it the same way IDEs like PhpStorm do would be awesome.

The following might be of use:

TextMate grammar injections
Extensions can now contribute TextMate grammars that inject new rules into the existing grammars used for syntax highlighting. This makes it possible to add colorization inside string literals or comments, such as highlighting of URLs or TODO markers across multiple languages.

"grammars": [
  {
    "scopeName": "source.todo",
    "path": "./syntaxes/todo.tmLanguage",
    "injectTo": [  "source.js", "source.ts" ]
  }
]

From: https://code.visualstudio.com/Update (version 1.2.0)

@graywolf336
Copy link

This would be awesome to have 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants