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

Semantic Highlighter #68

Open
octref opened this issue Aug 18, 2020 · 0 comments
Open

Semantic Highlighter #68

octref opened this issue Aug 18, 2020 · 0 comments

Comments

@octref
Copy link
Collaborator

octref commented Aug 18, 2020

This one is a bit complicated. Currently I can think of two approaches:

  1. With Define a vscode.executeSemanticHighlightProvider command microsoft/vscode#91375, get semantic highlighting results by running an e2e test that interacts with a real instance of VS Code (and its language servers).
  2. Run VS Code in browser context: https://github.com/Microsoft/vscode/wiki/How-to-Contribute#run and use puppeteer to extract colors. This is kinda far-fetched, but this would mean we neither need to maintain an integration with vscode-textmate nor with the semantic highlighters.
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

1 participant