Skip to content
胡飞 edited this page Jul 5, 2024 · 3 revisions

vscode-color-conversion

English | 简体中文

Project Description

A plugin for color conversion in vscode, supporting mutual conversion among hex, rgb, rgba, hsl, and hsla.

Installation

1.Plugin Marketplace Installation

Search for color conversion

2.VSIX Installation Method

Download color-conversion.vsix
VS Code Extensions -> Install from VSIX

Usage

1.Command

Select color -> ctrl shift p -> color conversion

2.Shortcut

Select color -> ctrl+f1 (mac: cmd+f1)

Marketplace URL

vscode marketplace

Demo

color-conversion

Running

1. npm i
2. After completion, enter VS Code, press F5, you will immediately see a development host window running the plugin.

Tagging

git tag vx.x.x(version number)
git push origin vx.x.x(version number)

Publishing

npm install -g vsce
vsce package
vsce login <publisher-name>
vsce publish or vsce publish [major|minor|patch]
Clone this wiki locally