Home >Web Front-end >Front-end Q&A >How to set the css of webstorm to have only one line

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

藏色散人
藏色散人Original
2021-07-19 17:22:222499browse

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!

Statement:
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