Vscode: Support embedded modes for TextMate grammars

Created on 29 Aug 2016  路  3Comments  路  Source: microsoft/vscode

With TextMate grammars we no longer support embedded modes which control the behaviour of smart editing (brackets, comments).

Text mate scopes can be used for that, but we should fix the flattening of scopes first (#3008)

debt verification-needed verified

Most helpful comment

still not work, how to fix?

All 3 comments

IMHO each and every one of the linked issues needs to be verified independently, as the generation of mode transitions from TM tokens depends heavily on the TM grammar (i.e. if the grammar does not use top-level scope names in the embedded portions, the mode transitions auto-generation will not work).

It works however for HTML, which uses source.css.embedded.html for embedded css, etc.

The relevant plan item is #14136

comment-line

I hate TextMate, and how can I remove it?

still not work, how to fix?

Was this page helpful?
0 / 5 - 0 ratings