|
Provides 5 main commands
mzr-tools.removeComments- Removes comments from the active document or selection.mzr-tools.removeConsole- Removes console logs (console.log,print, etc.) from the active document.mzr-tools.formatCode- Formats the code in the active document.mzr-tools.removeCommentsOnPath- Batch remove comments from a selected file or folder via Explorer context menu.mzr-tools.exportExtensions/importExtensions- Manage your VS Code extension profiles.
Settings
mzr-tools.editorFormatter.removeCommentLines- When enabled, Format Code also removes comment lines. Default:false.mzr-tools.editorFormatter.addSemicolonsToIfBlocks- When enabled, Format Code adds semicolons after standalone if/else blocks. Default:false.mzr-tools.editorFormatter.convertDoubleQuotesToSingle- When enabled, Format Code converts safe double-quoted strings to single quotes. Strings containing single quotes are left unchanged. Default:false.
Usage
Context Menu
Right-click in the editor or explorer to access commands quickly.
Command Palette
Press Ctrl+Shift+P (or Cmd+Shift+P) and type MZR Tools.
Supported Languages
- JavaScript
- TypeScript
- Python
- Java
- C#
- PHP
- Go
- Ruby
- Rust
- HTML
- CSS
- and more.
LICENSE
This extension is licensed under the MIT License