- Update hint data to Dec 5th, 2023. @AdrianDsg
- Nginx directives
- Lua Resty directives
- HTTP headers
- MIME types
- Add completion for HTTP headers
- Add two file extension names
.conf.default
and.conf.template
. @halilim - Fix syntax for constant values, language keywords
- Update Nginx beautifier
📣 There are a lot of updates in this version:
- The syntax of the Nginx configuration file is updated completely
- Because the syntax from sublime extension and shanoor's repo are long time no updates. So I write a syntax generator for better highlight
- New syntax is generated from codes. You can find them in generate-tmLanguage.ts
- New syntax supports embedded Lua block
- New syntax supports the directive statement in multiple lines
- And extension configuration
nginx-conf-hint.syntax
is removed
- Optimize hint data loader and document loader. They use less memory now and load data on demand
- This extension can run as a web extension. So you can use this extension on https://vscode.dev/ now
- The coverage of auto-completion is more, and auto-completion is smarter
- Auto completion is based on the context and grammar of the configuration now
- Fix some wrong auto-completion items
- Autocomplete named location
- Autocomplete directive's named argument
- Autocomplete media types
- Add editor definition support for
location
directive - Add new extension configuration
nginx-conf-hint.externalModules
for controlling enabled of external modules hint data - The source code is rewritten by using Typescript
- update syntax and hint data.
- Contributor: @latipun7
- add support for lua module and conf formatter
- Contributor: @tiansin
- add
goto nginx document
into tooltip hover (issue#9)
- syntax of nginx.conf is provided inside.
original
syntax is from shanoor/vscode-nginx (by default)sublime
syntax is from sublime-nginx- you can switch it by configuration:
nginx-conf-hint.syntax
- remove dependent extension
shanoor.vscode-nginx
. - update Nginx hint data(directives and variables) to latest.
- fix invalid links in nginx documents.
- add a configuration to enable/disable strict auto-completion.
- update Nginx directives and variables to latest.
- update Nginx directives and variables to latest.
- add access_log into block server snippet
- modify snippet project structure
- add "Goto Nginx Document" context menu to watching directives and variables document
- filter directive completion items according to context(block)
- add more useful snippet
- fixed directives and variables completion item order
- fixed auto completion insert wrong text
- fixed wrong description in
README.md
- add devDependencies into
package.json