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

Add support for multiple scopes per a language #4796

Open
vrubezhny opened this issue Apr 2, 2019 · 1 comment
Open

Add support for multiple scopes per a language #4796

vrubezhny opened this issue Apr 2, 2019 · 1 comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves textmate issues related to the textmate grammars

Comments

@vrubezhny
Copy link
Contributor

vrubezhny commented Apr 2, 2019

Description

For example PHP language can be used in its own files, like *.php as well as embedded into *.html code. In order to support it VSCode registers two different contexts for the same languages, see: https://github.com/Microsoft/vscode/blob/master/extensions/php/package.json#L32.
The same approach is required in Theia.

@akosyakov akosyakov added enhancement issues that are enhancements to current functionality - nice to haves textmate issues related to the textmate grammars labels Apr 3, 2019
@akosyakov
Copy link
Member

@svenefftinge @kittaakos Is it possible at all? It could be an issue to reuse built-in vscode extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves textmate issues related to the textmate grammars
Projects
None yet
Development

No branches or pull requests

2 participants