How to set the css of webstorm to have only one line

藏色散人
Release: 2021-07-19 17:22:22
Original
2459 people have browsed it

Webstorm's css setting becomes a one-line method: first, find the code style in the setting; then select css->other; finally find "keep-single-line blocks" and check it.

How to set the css of webstorm to have only one line

The operating environment of this article: windows7 system, webstorm9 version, Dell G3 computer.

How to set the css of webstorm to have only one line?

Webstorm css formatting settings, so that the css becomes a row:

First of all# In ##setting, you need to find code style;

then

css→ other, find keep-single-line blocks and hit hook.

However, this does not help you compress the code, it only merges single lines;

Anyway, there are many things that can be set in other, including removing spaces, etc.

Related introduction:

WebStorm is a JavaScript development tool owned by JetBrains. It has been praised by the majority of Chinese JS developers as "Web front-end development artifact", "the most powerful HTML5 editor", "the most intelligent JavaScript IDE", etc. It has the same origin as IntelliJ IDEA and inherits the functions of the powerful JS part of IntelliJ IDEA.

Recommended learning: "

css video tutorial"

The above is the detailed content of How to set the css of webstorm to have only one line. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template