You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no problem, this would be a nice to have feature.
Describe the solution you'd like
In order to keep things under the same style it would be nice to have the current selected color for peacock as the "selected file highlight" color which rests under the list.inactiveSelectionBackground setting (and probably a few others, like list.hoverBackground)
this could be toggled on and off just like the other peacock settings!
Describe alternatives you've considered
After a bit of research I found that vscode settings.json file doesn't allow using variables:
The settings in settings.json are static and do not support variable substitution or referencing other settings.
Additional context
I put together a quick example of what I think might work in case it helps, here it is:
constvscode=require('vscode');functionactivate(context){letdisposable=vscode.commands.registerCommand('extension.usePeacockColor',function(){// Get the current workspace configurationletconfig=vscode.workspace.getConfiguration();// Get the current Peacock colorletpeacockColor=config.get('peacock.color');// Update the other setting with the Peacock colorconfig.update('list.inactiveSelectionBackground',peacockColor,vscode.ConfigurationTarget.Workspace);});context.subscriptions.push(disposable);}exports.activate=activate;
A couple of shots of what the end result could look like:
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
There is no problem, this would be a nice to have feature.
Describe the solution you'd like
In order to keep things under the same style it would be nice to have the current selected color for peacock as the "selected file highlight" color which rests under the
list.inactiveSelectionBackground
setting (and probably a few others, likelist.hoverBackground
)this could be toggled on and off just like the other peacock settings!
Describe alternatives you've considered
After a bit of research I found that vscode settings.json file doesn't allow using variables:
Additional context
I put together a quick example of what I think might work in case it helps, here it is:
A couple of shots of what the end result could look like:
The text was updated successfully, but these errors were encountered: