Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Syntax/props coloring VSCode #98167

Closed
gothdawid opened this issue May 19, 2020 · 6 comments
Closed

Syntax/props coloring VSCode #98167

gothdawid opened this issue May 19, 2020 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@gothdawid
Copy link

Short description:
VSCode does not color my properties from prisma. Below are the extensions and the theme
Anyone have an idea how to fix it?

https://github.com/prisma/prisma/issues/2411#issue-615779088

@kieferrm
Copy link
Member

@gothdawid does any theme color the properties?

@kieferrm
Copy link
Member

/needsMoreInfo

@gothdawid
Copy link
Author

gothdawid commented May 20, 2020

image
where, update, create .... no have color.

I had it so that for a second after opening the file it was colored. But it's not now.

I use "Material Theme" and "Material Theme Icons"

Changing the theme also has no improvement.

I don't know what other information I can provide.

@kieferrm
Copy link
Member

@aeschli related to semantic highlighting?

@aeschli
Copy link
Contributor

aeschli commented May 26, 2020

@gothdawid You can run the Inspect Editor Tokens And Scope command to see where the color comes from.
It is related to semantic highlighting, as with semantic highlighting, where, update, ... are now classified as object properties, while TextMate grammars had a special thing called object literal key that could be colored in a different way.
We have aeschli/typescript-vscode-sh-plugin#12 to bring this back.

@aeschli aeschli closed this as completed May 26, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@kieferrm @gothdawid @aeschli and others