-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Fail on theme scope #9818
Comments
I had a look at your theme. I like it! |
Closing for now. I'd need more specific (smaller) examples or what you see and and what is expected. |
Hi Martin. I did not know about the "Toggle Developer Tools" option. Tks. I´m download the VSCode project from github repository and open it to check If i´m right, here is the definitions of how VSCode identify each special For some weird reason this definition is corrected applied on the HTML With the Developer Tools i´m able to identify with precision how rule will Well ... I hope I'm not being too boring. ImagesRule for HTML Block Tags [ .\extensions\html\syntaxes\HTML.plist line 396 ] [image: Imagem inline 1] HTML in PHP [image: Imagem inline 2] HTML in HTML [image: Imagem inline 3] 2016-08-03 11:31 GMT-03:00 Martin Aeschlimann [email protected]:
Rianna Cantarelli[email protected] |
You are correct, \extensions\html\syntaxes\HTML.plist is currently only used for PHP and for other grammars that embed html. The html tokenization is done by some legacy code. We are changing that for the August build, then also HTML will use the HTML.plist grammar. #8938 is the issue for that work. That said, as a theme implementor you should not rely on a specific grammar. Grammars can be replaced or updated, even by VSCode extension. |
Nice! Again, thank you very much for contacting me. 2016-08-04 4:22 GMT-03:00 Martin Aeschlimann [email protected]:
Rianna Cantarelli[email protected] |
I created a new theme for VS Code following the TextMate definitions and using the TmTheme Editor as guide to get the final result. Many hours of fun after, i install the theme in my local machine with VS Code and i needed to change almost all set scopes to get what i want.
Well, after all, remained some details which I suspect that are a problem in the way the VS Code identifies and applies the styles to each scope.
The code of my theme can be found in my repository.
Steps to Reproduce:
First of all, install the theme (you can use "ext install theme-aeondigital-dark")
*Using .php files will work
In this case all styles defined will work as expected! \o/
**But using .html or .js has some bugs
I´m new user of the VS Code but i'm already loving it.
Congratulations to the whole team.
The text was updated successfully, but these errors were encountered: