Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to get vs code to stop prompting to delete a file?

Is there any way to get vs code to stop prompting to delete a file?

Right now I get "Are you sure you want to delete?" "You can restore from trash."

Yes every application ever made… I'm sure. Stop asking.

like image 820
Clintm Avatar asked Mar 19 '17 05:03

Clintm


People also ask

How do you turn off suggestions in VS Code?

Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.

How do I change JSON settings in VS Code?

json file. You can open the settings. json file with the Preferences: Open Settings (JSON) command in the Command Palette (Ctrl+Shift+P). Once the file is open in an editor, delete everything between the two curly braces {} , save the file, and VS Code will go back to using the default values.

How do I undo delete in VS Code?

First go to Recycle Bin of your local machine. Your VS code deleted files is there in Recycle Bin. So, Right click on deleted files and select-> Restore option then your deleted files will be automatically restored in your VS code.


2 Answers

Go to File -> Preferences -> Settings and then search for confirm delete. This should then display the "Explorer: Confirm Delete" option:

Explorer: Confirm Delete

like image 169
MCH Avatar answered Oct 21 '22 21:10

MCH


This is not currently possible, no.

However, you can upvote this issue and hope it gets fixed. Or you can try to create a pull request help yourself and others :-)

like image 20
Llewey Avatar answered Oct 21 '22 20:10

Llewey