visual-studio-code icon indicating copy to clipboard operation
visual-studio-code copied to clipboard

Parameter not highlighting as should

Open giulianosrebuli opened this issue 3 years ago • 4 comments

Hi everyone. I use Dracula for a few months now, but this week some highlighting just went missing and i can't tell why. This is a example code:

image

My main concern is to the parameter (*buffer) which should be orange inside the function as well, just like it's shown in the readme:

image

The struct name is a little strange too, if i'm not mistaken it was blue before, now it's plain.

At first i thought it was becausa my project was starting to be too large, but on a single-file project happens the same

Can somebody help me understand what is going on and how can i solve it? Already tried to uninstall e reinstall Dracula on VSCode, also tried to uninstall and reinstall VSCode itself, but nothing works. Any help would be largely appreciated.

giulianosrebuli avatar Jun 15 '22 13:06 giulianosrebuli

Hi there.

If you noticed a sudden change in highlighting it may be that you toggled on (or off) semantic highlighting. So I would first double check that.

My main concern is to the parameter (*buffer) which should be orange inside the function as well, just like it's shown in the readme:

The only way this would happen is if you are using semantic highlighting. So make sure it is enabled and that the language you are using supports it.

Second, the comparison you are making between the example in the readme and your example are not direct apples to apples comparisons. The readme example is javascript syntax, whereas yours looks to be c or c++. These two languages use completely different syntaxes so the highlighting won't be exactly the same.

dsifford avatar Jun 15 '22 14:06 dsifford

My semantic highlighting is on for all color themes.

I am using C, the comparison was made because it used to look like that before, i.e. the parameter would still be orange in all its uses inside the function

giulianosrebuli avatar Jun 15 '22 14:06 giulianosrebuli

the parameter would still be orange in all its uses inside the function

This is something that is 100% controlled by semantic highlighting so I would triple check that you do indeed have it enabled.

dsifford avatar Jun 15 '22 14:06 dsifford

image unless i'm doing something wrong here, it is enabled

giulianosrebuli avatar Jun 15 '22 15:06 giulianosrebuli