Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Clear FileNew to Visual Studio Code? Get it now.
Clear File

Clear File

SwiftlyDaniel

|
42 installs
| (0) | Free
Clear the contents of the opened file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clear File Extension

This VS Code extension provides a button on the editor actions to clear the contents of the currently active file.

Alternatively, you can run the command Clear File Contents from the command palette

Demo

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft