Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Nginx Configuration FormatterNew to Visual Studio Code? Get it now.
Nginx Configuration Formatter

Nginx Configuration Formatter

yinjiajun223

|
3 installs
| (0) | Free
A formatter for nginx.conf
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nginx Formatter

A Visual Studio Code extension that provides automatic formatting for Nginx configuration files.

Features

  • Automatic Formatting: Format Nginx configuration files with proper indentation and structure
  • File Support: Supports .conf and .nginx file extensions
  • Built-in Engine: No external dependencies required - formatting engine is included in the extension
  • Easy to Use: Simple keyboard shortcut to format your entire configuration file

Usage

  1. Open any Nginx configuration file (.conf or .nginx)
  2. Press Shift + Alt + F (Windows/Linux) or Shift + Option + F (macOS) to format the file
  3. Alternatively, right-click in the editor and select "Format Document"

Requirements

No additional software required! This extension includes its own formatting engine - you don't need to install Nginx or any other tools on your system.

Extension Settings

This extension does not add any VS Code settings at this time.

Known Issues

None at the moment. Please report issues on our GitHub repository.

Release Notes

0.0.1

Initial release of Nginx Formatter

  • Basic formatting support for .conf and .nginx files
  • Automatic indentation and structure cleanup

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