Lonefy / vscode-JS-CSS-HTML-formatter

JS,CSS,HTML formatter for vscode
48 stars 23 forks source link

When replace files, the contents of the file are inject to another file. #102

Open kenz opened 5 years ago

kenz commented 5 years ago

Issue Type: Bug Extension Name: vscode-JS-CSS-HTML-formatter Extension Version: 0.2.3 OS Version: macOS catalina 10.15 VSCode version: 1.39.2

First of all. I have below files.

html.html

<!DOCTYPE html>
<html>

<body>
</body>

</html>

css.css

body {
    -webkit-text-size-adjust: 100%;
}

I replace all "body" to "Body" with visual studio replace in files. Results,The content of the CSS file has been inserted into the HTML file. html.html

Body { -webkit-text-size-adjust: 100%; }

<Body>
</Body>

</html>