🚀 Overview
SyntaxilitY Code Formatter is a simple yet powerful code formatting extension for Visual Studio Code.
It supports multiple languages and integrates seamlessly with Prettier, ESLint, Black, Clang-Format, Rustfmt, and more!
🔧 How to Install
Installation Steps:
1️⃣ Open Visual Studio Code.
2️⃣ Go to the Extensions view by clicking on the Extensions icon in the Sidebar or pressing:
Ctrl + Shift + X
(Windows, Linux)
Cmd + Shift + X
(macOS)
3️⃣ Search for "SyntaxilitY Code Formatter" in the Extensions Marketplace.
4️⃣ Click Install and enjoy automatic code formatting!
🛠 Features
✅ Auto-detect installed formatters & fallback to Prettier if missing
✅ Supports multiple languages:
- JavaScript, TypeScript, Python, C++, Rust, Go, SQL, YAML, JSON, Markdown, HTML, CSS
✅ Works with Prettier, ESLint, and other popular formatters
✅ Auto-format on save (configurable in settings)
✅ Right-click context menu option for quick formatting
✅ Custom keyboard shortcut: Ctrl + Alt + F
✅ Git Pre-Commit Hook for auto-formatting before commits
⚙️ Configuration Options
You can configure the formatter in VS Code settings (settings.json
):
"syntaxilityCodeFormatter.autoFormatOnSave": true,
"syntaxilityCodeFormatter.formatters": {
"javascript": "prettier",
"typescript": "eslint",
"python": "black",
"cpp": "clang-format",
"sql": "sql-formatter",
"markdown": "markdown-it"
}
To enable Git Pre-Commit Hook, add:
"syntaxilityCodeFormatter.preCommitHook": true
📝 Commands & Shortcuts
Command |
Description |
Shortcut |
SyntaxilitY: Format Document |
Formats the entire file |
Ctrl + Alt + F |
SyntaxilitY: Enable Auto-Format on Save |
Enables auto-formatting on save |
- |
SyntaxilitY: Disable Auto-Format on Save |
Disables auto-formatting on save |
- |
👨💻 Author
Tariq Mehmood
📧 Contact: johnbrrighte@engineer.com
🌍 Portfolio:
🔗 GitHub: TariqMehmood1004
📜 License: MIT
📦 Repository: SyntaxilitY Code Formatter
🏠 Homepage: SyntaxilitY Code Formatter
📅 Version: 1.0.0
📆 Release Date: 2025-03-20
🟢 Status: Stable
🤝 Contributors
👤 Tariq Mehmood
📢 Enjoy & Contribute!
If you find SyntaxilitY Code Formatter useful, consider starring the repository ⭐ and contributing!
Happy Coding! 🚀