forked from Serhioromano/vscode-st
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 2.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "vscode-st",
"displayName": "Structured Text language Support",
"description": "Supports for syntax highlights, snippets for IEC 61131-3 Structured Text",
"version": "1.7.1",
"publisher": "Serhioromano",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"repository": {
"type": "git",
"url": "https://github.com/Serhioromano/vscode-st"
},
"keywords": [
"ST",
"Structured Text",
"IEC 61131-3",
"PLC",
"TwinCAD3",
"CoDeSys",
"logi.CAD 3"
],
"author": "Sergey Romanov",
"license": "MIT",
"bugs": {
"url": "https://github.com/Serhioromano/vscode-st/issues",
"email": "serg4172@mail.ru"
},
"homepage": "https://github.com/Serhioromano/vscode-st#readme",
"engines": {
"vscode": "^1.36.0"
},
"activationEvents": [
"onLanguage:st",
"onCommand:extension.st.autoformat"
],
"main": "./out/extension",
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"icon": "st-icon.png",
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.8",
"tslint": "^5.18.0",
"typescript": "^3.5.3",
"vscode": "^1.1.35"
},
"contributes": {
"configuration": {
"type": "object",
"title": "Structured Text configuration",
"properties": {
"st.format.enable": {
"type": "boolean",
"default": true,
"description": "Automatically convert constants like TRUE, FALSE, NULL, or types like INT, BOOL, ...and other keywords to upper case."
}
}
},
"menus": {
"editor/context": [
{
"command": "extension.st.autoformat",
"when": "editorLangId == st",
"group": "1_modification"
}
]
},
"commands": [
{
"command": "extension.st.autoformat",
"title": "ST: Format"
}
],
"languages": [
{
"id": "st",
"aliases": [
"Structured Text",
"ST"
],
"firstLine": "^([\\(\\/\\*]?.*)?(PROGRAM ).*",
"extensions": [
".st",
".stl",
".scl",
".iecplc",
".iecst",
".iecstl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "st",
"scopeName": "source.st",
"path": "./syntaxes/st.tmLanguage.json"
}
],
"snippets": [
{
"language": "st",
"path": "./snippets/st.snippets.json"
}
]
}
}