Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Code BeautifieeNew to Visual Studio Code? Get it now.
Code Beautifiee

Code Beautifiee

SRIKANTHSRIKI

|
1 install
| (1) | Free
Helps in formatting all types of code with support for JavaScript, TypeScript, HTML, CSS, SCSS, JSON, and Python
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Beautifier

Code Beautifier is a VS Code extension that helps you format your code with a single click or keyboard shortcut. It supports multiple languages including JavaScript, TypeScript, HTML, CSS, SCSS, JSON, and Python.

Features

  • Format code with a single command (Cmd+Alt+F on Mac, Ctrl+Alt+F on Windows/Linux)
  • Support for multiple languages:
    • JavaScript/TypeScript
    • HTML
    • CSS/SCSS
    • JSON
    • Python
  • Customizable indentation settings
  • Format on save (optional)
  • Context menu integration

Usage

  1. Open a file you want to format
  2. Use the keyboard shortcut Cmd+Alt+F (Mac) or Ctrl+Alt+F (Windows/Linux)
  3. Alternatively, right-click and select "Format Code" from the context menu
  4. You can also run the command from the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) by typing "Format Code"

Extension Settings

This extension contributes the following settings:

  • codeBeautifier.enableAutoFormat: Enable/disable auto-formatting on save
  • codeBeautifier.supportedLanguages: Languages supported by the formatter
  • codeBeautifier.indentSize: Number of spaces for indentation (default: 2)
  • codeBeautifier.useTabs: Use tabs instead of spaces for indentation (default: false)

Requirements

No additional requirements or dependencies needed.

Known Issues

  • Some complex formatting options might not be available compared to language-specific formatters

Release Notes

0.0.1

  • Initial release
  • Support for JavaScript, TypeScript, HTML, CSS, SCSS, JSON, and Python formatting

Development

Building the Extension

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Run npm run compile to compile the TypeScript code
  4. Press F5 to launch the extension in debug mode

License

This extension is licensed under the MIT License.

Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

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