Nginx configuration helper for Visual Studio Code with many features including syntax highlight, auto-complete, in-editor documents, embedded Lua block, and more
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Nginx config file hint(auto-completion) for VS Code
A Visual Studio Code extension that helps you write Nginx configuration files.
Many features in it include syntax highlight, auto-complete, in-editor documents, embedded Lua block, and more.
Why Fork?
The upstream repo seems to be left unmaintained and there was compatibility issue with raynigon.nginx-formatter extension because the upstream projects used NGINX as language id while the formatter extension uses nginx and therefore it's not possible to use both extensions on the same file
Installation
Click Extension button in left side of VSCode. (Shortcut: Ctrl+Shift+X or Command+Shift+X)
Search for ahmadalli.vscode-nginx-conf and click the Install button.
Reload VSCode.
Screenshots
Features
Syntax highlight for Nginx configuration file
Support syntax of Lua block in Nginx configuration file
Autocomplete directives, variables, location, media types, path, and more