Answer the question
In order to leave comments, you need to log in
How to disable auto-style in webstorm?
Good afternoon!
I downloaded a trial version of Webstorm. I like everything, but I can’t turn off the automatic linking to scss in it.
I created a simple project: index.html, style.css, main.scss The main.scss
file is not processed by anything (then it will be processed by webpack)
Here is the simple HTML that I created
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<h1 class="one">Test 1</h1>
<p class="two">test P</p>
<p id="three">test P2</p>
</body>
</html>
<link rel="stylesheet" type="text/css" href="_main.scss"/>
<head>
<link rel="stylesheet" type="text/css" href="_main.scss"/>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<h1 class="one">Test 1</h1>
<p class="two">test P</p>
<p id="three">test P2</p>
</body>
Answer the question
In order to leave comments, you need to log in
Olga, at one time I was also puzzled by this issue and solved the matter by assembling, which itself removes what needs to be done.
Yes, of course, this is not quite what you need, but it saves your nerves.
https://github.com/abyss-soft/webpack-template-base
Here is the response received from jetbrains tech support
Good afternoon!
The link is added by the same instance as the selector is created, there is no way to turn off this addition.
You can create a request to add such a setting at https://youtrack.jetbrains.com/issues/WEB .
Have a nice day!
Team WebStorm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question