Skip to content

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
## [0.7.0] - 2019-03-15

### Added

- Updated syntax from https://nginx.org/en/docs

### Changed

- Converted syntax file from XML to JSON
  • Loading branch information
William Voyek committed Mar 15, 2019
1 parent 54d1374 commit 3c89e9f
Show file tree
Hide file tree
Showing 15 changed files with 580 additions and 64 deletions.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
8 changes: 8 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ExpandedNodes": [
"",
"\\syntaxes"
],
"SelectedNode": "\\.vsixmanifest",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
Binary file added .vs/vscode-nginx/v15/.suo
Binary file not shown.
23 changes: 13 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ]
}
]
"version": "0.2.0",
"configurations": [{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}]
}
4 changes: 4 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode/**
.vscode-test/**
.gitignore
vsc-extension-quickstart.md
37 changes: 37 additions & 0 deletions .vsixmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="vscode-nginx" Version="0.7.0" Language="en-US" Publisher="william-voyek" />
<DisplayName>NGINX</DisplayName>
<Description xml:space="preserve">Syntax highlighting for NGINX configuration files.</Description>
<!--<MoreInfo>http://www.fabrikam.com/Extension1/</MoreInfo>-->
<!--<License>eula.rtf</License>-->
<!--<PreviewImage>Images\preview.png</PreviewImage>-->
<ReleaseNotes>CHANGELOG.md</ReleaseNotes>
<Icon>extension/nginx_logo.png</Icon>
<Tags>NGINX,__ext_conf</Tags>
<Categories>Languages</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.32.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/william-voyek/vscode-nginx" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/william-voyek/vscode-nginx" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/william-voyek/vscode-nginx" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<Icon>extension/nginx_logo.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/nginx_logo.png" Addressable="true" />
</Assets>
</PackageManifest>
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

All notable changes to the "vscode-nginx" extension will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.7.0] - 2019-03-15

### Added

- Updated syntax from https://nginx.org/en/docs

### Changed

- Converted syntax file from XML to JSON

### Removed

### Fixed

## [0.6.0] - 2018-11-04

### Added

- Initial release

[Unreleased]: https://github.com/william-voyek/vscode-nginx/compare/v0.7.0...HEAD
[0.7.0]: https://github.com/william-voyek/vscode-nginx/compare/v0.6.0...v0.7.0
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NGINX syntax support for VS Code
Syntax highlighing for nginx conf files in Visual Studio Code. Ported from [johnmuhl/nginx-tmbundle][1].
# NGINX configuration file syntax highlighting for VS Code
Syntax highlighing for nginx conf files in Visual Studio Code. Ported from [shanoor/vscode-nginx][1].

## Installation
Launch Code's command palette (<kbd>Ctrl</kbd> + <kbd>P</kbd>) and type
Expand All @@ -8,5 +8,5 @@ Launch Code's command palette (<kbd>Ctrl</kbd> + <kbd>P</kbd>) and type

This extension is published on the [VSCode marketplace][2].

[1]: https://github.com/johnmuhl/nginx-tmbundle
[2]: https://marketplace.visualstudio.com/items?itemName=shanoor.vscode-nginx
[1]: https://github.com/shanoor/vscode-nginx
[2]: https://marketplace.visualstudio.com/items?itemName=william-voyek.vscode-nginx
20 changes: 16 additions & 4 deletions nginx.configuration.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "#"
"lineComment": "#",
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}
}
Binary file modified nginx_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 22 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,31 @@
{
"name": "vscode-nginx",
"displayName": "nginx.conf",
"description": "Syntax highlighter for nginx conf files.",
"version": "0.6.0",
"publisher": "shanoor",
"displayName": "NGINX Configuration",
"description": "Syntax highlighting for NGINX configuration files",
"version": "0.0.1",
"publisher": "william-voyek",
"engines": {
"vscode": "^1.0.0"
},
"repository": {
"type": "GitHub",
"url": "https://github.com/shanoor/vscode-nginx"
"vscode": "^1.32.0"
},
"repository": {
"type": "GitHub",
"url": "https://github.com/william-voyek/vscode-nginx"
},
"categories": [
"Languages"
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "NGINX",
"aliases": [
"NGINX"
],
"extensions": [
".conf"
],
"configuration": "./nginx.configuration.json"
}
],
"grammars": [
{
"language": "NGINX",
"scopeName": "source.nginx",
"path": "./syntaxes/nginx.tmLanguage"
}
]
"languages": [{
"id": "nginx",
"aliases": ["NGINX Conf", "nginx"],
"extensions": [".conf",".nginx"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "nginx",
"scopeName": "source.nginx",
"path": "./syntaxes/nginx.tmLanguage.json"
}]
},
"icon": "nginx_logo.png"
}
}
Loading

0 comments on commit 3c89e9f

Please sign in to comment.