Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable "safe write" in Visual Studio Code

I would like to fix this issue on my dev setup: https://github.com/angular/angular-cli/issues/6744

They suggest to disable "safe write" in my IDE, which is Visual Studio Code Version 1.10.2.

Does anybody know how to do it? I couldn't find anything about it so far.

Thanks!

like image 493
Carli Beeli Avatar asked Jun 29 '17 08:06

Carli Beeli


People also ask

How do I disable VS Code trust?

Bring up Workspace Trust editor (Workspaces: Manage Workspace Trust from the Command Palette) and select the Don't Trust button. You can also remove the folder from the Trusted Folders & Workspaces list.

How do I disable errors in VS Code?

Choose Build, and go to the Errors and warnings subsection. In the Suppress warnings or Suppress specific warnings box, specify the error codes of the warnings that you want to suppress, separated by semicolons. For a list and descriptions of warning codes, see C# Compiler Messages. Rebuild the solution.


2 Answers

"We do not have atomic saving in VS Code. File writes go directly into the file." https://github.com/Microsoft/vscode/issues/28927

like image 74
Ying Avatar answered Oct 13 '22 18:10

Ying


It's a node-sass bug, fixed on 4.9.2:
https://github.com/sass/node-sass/issues/1894#issuecomment-390199128

like image 38
mlb Avatar answered Oct 13 '22 17:10

mlb