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

Difference between single/double quotes #9

Closed
Khwesten opened this issue Mar 18, 2018 · 5 comments
Closed

Difference between single/double quotes #9

Khwesten opened this issue Mar 18, 2018 · 5 comments

Comments

@Khwesten
Copy link

On Intellij has some diference between quotes.
image

@rokoroku
Copy link
Owner

rokoroku commented Mar 25, 2018

Since I cannot ensure a proper style in all languages, I'm not willing to add the requested style for this theme.
(Note that this theme is not exactly same with original theme from IntelliJ IDE. There are few modifications to match look and feel with VS Code.)

I'd recommend you to try VSCode's own customizing options.
https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme

You can override the specific style like this:

{
   "editor.tokenColorCustomizations": {
        "[Darcula]": {
            "textMateRules": [
                { 
                    "scope": [
                        "string.quoted.double",
                    ],
                    "settings": {
                        "foreground": "#5f8c3d",
                        "fontStyle": "bold",
                    }
                }
            ]
        }
    }
}

Result:
2018-03-25 5 08 13

@Khwesten
Copy link
Author

Holy shit, man! Are you crazy!? Thanks a lot!!!

@Axibord
Copy link

Axibord commented Jan 8, 2021

Since I cannot ensure a proper style in all languages, I'm not willing to add the requested style for this theme.
(Note that this theme is not exactly same with original theme from IntelliJ IDE. There are few modifications to match look and feel with VS Code.)

I'd recommend you to try VSCode's own customizing options.
https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme

You can override the specific style like this:

{
   "editor.tokenColorCustomizations": {
        "[Darcula]": {
            "textMateRules": [
                { 
                    "scope": [
                        "string.quoted.double",
                    ],
                    "settings": {
                        "foreground": "#5f8c3d",
                        "fontStyle": "bold",
                    }
                }
            ]
        }
    }
}

Result:
2018-03-25 5 08 13

I want to same color for text and variables in JS/TS how can I do that ?

@rokoroku
Copy link
Owner

rokoroku commented Jan 14, 2021

@Axibord Turn on quick menu > Developer: Inspect Editor Tokens and Scopes feature in VSCode.
Then you can find the corresponding textmate scope like this:
image

For example, if you want to change above token in screenshot, you can add a rule for "variable.other.constants" in your custom theme.

@PlaymakerQ
Copy link

@Axibord Turn on quick menu > Developer: Inspect Editor Tokens and Scopes feature in VSCode. Then you can find the corresponding textmate scope like this: image

For example, if you want to change above token in screenshot, you can add a rule for "variable.other.constants" in your custom theme.

Good advice, thanks.

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

4 participants