Semantic colorization doesn't work on multiroot project #5812
Labels
bug
Feature: Colorization
Feature: Multi-root
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
regression
A bug that didn't exist in a previous release
Milestone
Type: LanguageService
Describe the bug
On multiroot project, semantic colorization works only in the first workspace folder (colorization of custom types, c macros, declared functions). However, all other IntelliSense features (hover text, auto-completion, going to declaration/definition) work. Hover text colorization also works correctly. If you try running "Developer: Inspect Editor Tokens and Scopes" command, it will run correctly in the first workspace folder but will fail silently in the second.
Colorization worked correctly on previous stable release.
Steps to reproduce
If semantic coloring works, we will never see it (it will be overrided by scope "entity.name.function").
5. Open first .c file. Open second .c file. There is difference in coloring.
6. Try running "Developer: Inspect Editor Tokens and Scopes" on second .c file. It will fail silently.
Logs
C/C++: Log Diagnostics
Last line appeared after running "Developer: Inspect Editor Tokens and Scopes".
Screenshots
File in first workspace folder:
File in second workspace folder:
The text was updated successfully, but these errors were encountered: