vscode-colorize
vscode-colorize copied to clipboard
Display with border instead of background
.vscode/extensions/kamikillerto.vscode-colorize-0.8.11/out/src/lib/colors/color-decoration.js
_generateDecorator() {
let backgroundDecorationType = vscode_1.window.createTextEditorDecorationType({
// borderWidth: '1px',
borderWidth: '0 0 1px 0',
borderStyle: 'solid',
borderColor: this.color.toRgbString(),
// backgroundColor: this.color.toRgbString(),
// color: color_util_1.generateOptimalTextColor(this.color),
rangeBehavior: vscode_1.DecorationRangeBehavior.ClosedClosed
});
this._decoration = backgroundDecorationType;
}
Please add this feature to option.
+1 for this. (shungo27's change also needs to be made in src/lib/variables/variable-decoration.js)
A good way to implement this would be as a option: Show colors as: background, underline, or outline.
I would love this. Great suggestion.
@shungo27 FYI, This feature is available in the https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight extension.
Thank you for the information. I am also trying the extension :)
+1