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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[theming] when completing color keys in settings, fill in current value #25633

Closed
bpasero opened this issue Apr 28, 2017 · 2 comments 路 Fixed by #213451
Closed

[theming] when completing color keys in settings, fill in current value #25633

bpasero opened this issue Apr 28, 2017 · 2 comments 路 Fixed by #213451
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders themes Color theme issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Apr 28, 2017

That would be very helpful 馃憤

@bpasero bpasero added feature-request Request for new features or functionality themes Color theme issues labels Apr 28, 2017
@aeschli aeschli added this to the Backlog milestone May 2, 2017
@aeschli aeschli changed the title Theming: when completing color keys in settings, fill in current value [theming] when completing color keys in settings, fill in current value Nov 27, 2017
@hediet
Copy link
Member

hediet commented Aug 16, 2022

Is this hard to implement? Otherwise, I'd love to help here.

@aeschli
Copy link
Contributor

aeschli commented Aug 26, 2022

@hediet The completions are schema driven. The schema is generated here: https://github.com/microsoft/vscode/blob/main/src/vs/platform/theme/common/colorRegistry.ts#L127
Instead of ff0000, the color value would come from IThemeService.getColorTheme().getColor(id).
onDidChangeSchema needs be triggered whenever the colorTheme changes (IThemeService.onDidColorThemeChange)
I guess the challenge is how to get the IThemeService to the colorRegistry.

@VSCodeTriageBot VSCodeTriageBot added the unreleased Patch has not yet been released in VS Code Insiders label Jun 5, 2024
@aeschli aeschli modified the milestones: Backlog, June 2024 Jun 5, 2024
@VSCodeTriageBot VSCodeTriageBot added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jun 5, 2024
@Yoyokrazy Yoyokrazy added the verification-needed Verification of issue is requested label Jun 25, 2024
@bpasero bpasero added the verified Verification succeeded label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders themes Color theme issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants