当前位置:Gxlcms > css > WebStorm设置颜色提示的方法

WebStorm设置颜色提示的方法

时间:2021-07-01 10:21:17 帮助过:270人阅读


使用WebStorm学习前端的时候,在2016-02-01被人问到如何设置WebStorm的颜色提示。据说度娘没有设置方法,我找了一下设置后发现了位置,今天写了这篇设置方法来说明一下。

软件版本号:JetBrains WebStorm 8.0.4

开启步骤

1 File-Settings

WebStorm设置颜色提示的方法

2 IDE Settings-Editor

WebStorm设置颜色提示的方法

3 Appearance-Show CSS color preview icon in gutter & Show CSS color preview as background

WebStorm设置颜色提示的方法

实际效果

WebStorm设置颜色提示的方法

放大的部分和黄色矩形圈起来的部分就是Show CSS color preview icon in gutter的效果:在行号旁边用有颜色的小方块标识选择的颜色。

红色矩形圈起来的部分就是Show CSS color preview as background的效果:颜色值的背景色是选择的颜色。

更多WebStorm设置颜色提示的方法相关文章请关注PHP中文网!

人气教程排行