How can I clear VS Code's cache and restart it?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I clear VS Code's cache and restart it?
Asked by:
47 Viewed 47 Answers

Answer (47)

Best Answer
(243)
Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS) to open the command palette. Type 'Developer: Reload Window' and select it. This clears the cache and restarts VS Code. You can also try deleting the `.vscode` folder in your project directory.