Skip to content

Commit 4b83319

Browse files
committed
Add the original source of seraf1.Pan
0 parents  commit 4b83319

File tree

11 files changed

+519
-0
lines changed

11 files changed

+519
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
*.vsix

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// A launch configuration that launches the extension inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
]
15+
}
16+
]
17+
}

.vscodeignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode/**
2+
.vscode-test/**
3+
.gitignore
4+
vsc-extension-quickstart.md

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Version 0.4.1
2+
* Readme correction
3+
4+
## Version 0.4.0
5+
* Readme correction
6+
7+
## Version 0.3.0
8+
9+
* License updated
10+
* Add ChangeLog
11+
* Add README
12+
13+
## Version 0.2.0
14+
15+
* Add bnd and type keyword
16+
17+
## Version 0.1.0
18+
19+
* Initial release
20+

LICENSE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Philippe SÉRAPHIN
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Functionality
2+
3+
Syntax highlilightin for the Pan Configuration Language use by [Quattor deployment tool](http://www.quattor.org/)
4+
5+
* Keyword
6+
* Builtinfunctions
7+
* Operators
8+
* resources
9+
10+
# License
11+
12+
[MIT](https://github.com/quattor/vscode-language-pan/blob/main/LICENSE.md) © Philippe SÉRAPHIN
13+
14+
---

language-configuration.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"comments": {
3+
"lineComment": "#",
4+
},
5+
"brackets": [
6+
["{", "}"],
7+
["[", "]"],
8+
["(", ")"]
9+
],
10+
"autoClosingPairs": [
11+
{ "open": "{", "close": "}" },
12+
{ "open": "[", "close": "]" },
13+
{ "open": "(", "close": ")" },
14+
{ "open": "\"", "close": "\"", "notIn": ["string"] },
15+
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
16+
],
17+
"surroundingPairs": [
18+
["{", "}"],
19+
["[", "]"],
20+
["(", ")"],
21+
["\"", "\""],
22+
["'", "'"]
23+
]
24+
// enhancedBrackets: [ { open: /.*:\s*$/, closeComplete: 'else:' } ],
25+
}

package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "Pan",
3+
"displayName": "Pan Configuration language",
4+
"description": "Configuration Language for Quattor deployment tool",
5+
"icon": "pan.png",
6+
"version": "0.4.1",
7+
"publisher": "seraf1",
8+
"engines": {
9+
"vscode": "*"
10+
},
11+
"categories": [
12+
"Languages"
13+
],
14+
"contributes": {
15+
"languages": [
16+
{
17+
"id": "pan",
18+
"extensions": [
19+
".pan",
20+
".tpl"
21+
],
22+
"aliases": [
23+
"Pan",
24+
"pan"
25+
],
26+
"configuration": "./language-configuration.json"
27+
}
28+
],
29+
"grammars": [
30+
{
31+
"language": "pan",
32+
"scopeName": "source.pan",
33+
"path": "./syntaxes/pan.tmLanguage.json"
34+
}
35+
]
36+
}
37+
}

pan.png

2.38 KB
Loading

0 commit comments

Comments
 (0)