Add event listener that listens to configuration changes and reloads the theme when it changes.
Details
Details
- Reviewers
hokein ilya-biryukov - Commits
- rG4683eec2d303: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
rCTE370305: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
rL370305: [clangd] Update themeRuleMatcher when color theme changes in vscode extension.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37481 Build 37480: arc lint + arc unit
Event Timeline
Comment Actions
please update the description of the patch.
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts | ||
---|---|---|
97 | does conf.affectsConfiguration('workbench.colorTheme') work? |
Comment Actions
Use conf.affectsConfiguration('workbench.colorTheme') instead of keeping track of the old color theme manually.
does conf.affectsConfiguration('workbench.colorTheme') work?