A simple and efficient VS Code extension for formatting HTML and CSS files.
Features
- Right-click context menu for instant formatting
- Format Document command in Command Palette
- Supports both HTML and CSS files
- Uses VS Code's built-in formatting capabilities
- One-click formatting from context menu
- No configuration needed
- Works with existing VS Code formatters
- Lightweight and fast
Usage
Method 1: Context Menu (Recommended)
- Open an HTML or CSS file
- Right-click anywhere in the editor
- Select "Reformat Document"
Method 2: Command Palette
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "Reformat Document"
- Press Enter
Requirements
- VS Code 1.95.0 or higher
- Recommended: An HTML or CSS formatter extension (like Prettier, Beautify, etc.)
Extension Settings
This extension works out of the box with no configuration required.
Known Issues
None at this time. Please report issues if you encounter any problems.
Release Notes
0.0.3
- Added context menu "Reformat Document" command
- Performance improvements
- Bug fixes
0.0.2
0.0.1
- Initial release
- Basic HTML & CSS formatting
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE file for details
Enjoy formatting your HTML & CSS files! 🚀
| |