How to change color?

How can I change the color of this section? Or how can I completely remove it?

0

Hi there,

1. Those are inline/inlay hints.

Check the “Settings/Preferences | Editor | Color Scheme | Language Defaults | Inline hints” – there are a few styles there. The ones on a screenshot should be under "Parameters" node.

To remove them – go to “Settings/Preferences | Editor | Inlay Hints” and look for the appropriate language/functionality.

2. That looks like a Language Injection fragment – used to indicate that this string has a different language inside (HTML in your case). It's very handy to have such an indication (because if you accidentally inject a wrong language in a wrong place you may see an IDE reporting weird errors there…and seeing such a colour there helps identifying the issue.)

In any case: this would be “Settings/Preferences | Editor | Color Scheme | General | Code | Injected language fragment”.

1

Thank you very much, you're truly amazing.

0

请先登录再写评论。