vscode-colorize icon indicating copy to clipboard operation
vscode-colorize copied to clipboard

Display with border instead of background

Open shungo27 opened this issue 6 years ago • 5 comments

.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;
    }
aaa

Please add this feature to option.

shungo27 avatar Jul 25 '19 21:07 shungo27

+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.

cbanack avatar Nov 21 '19 18:11 cbanack

I would love this. Great suggestion.

robwierzbowski avatar Jun 10 '20 02:06 robwierzbowski

@shungo27 FYI, This feature is available in the https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight extension.

robwierzbowski avatar Jun 10 '20 02:06 robwierzbowski

Thank you for the information. I am also trying the extension :)

shungo27 avatar Jun 10 '20 02:06 shungo27

+1

black-eye avatar Jan 16 '21 15:01 black-eye