-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.31 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 3.31 KB
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
116
117
{
"name": "nml-language",
"publisher": "PNDA",
"displayName": "NewGRF Meta Language",
"author": "Tony Pixel",
"version": "2.0.6",
"main": "client.js",
"scripts": {
"node-publish": "node esbuild.js --production",
"build": "node esbuild.js && dotnet build ./src/server",
"dotnet-publish": "dotnet publish ./src/server --configuration Release --sc true --output \".\"",
"vscode:prepublish": "npm run dotnet-publish && npm run node-publish"
},
"categories": [
"Programming Languages"
],
"private": "true",
"keywords": [
"nml",
"newgrf",
"pnml",
"lng",
"grf",
"openttd"
],
"description": "OpenTTD NML support for Visual Studio Code",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Pixel-Tony/VSC-NML"
},
"bugs": {
"url": "https://github.com/Pixel-Tony/VSC-NML/issues",
"email": "tony-pixel@proton.me"
},
"engines": {
"vscode": "^1.75.1"
},
"files": [
"client.js",
"LICENSE",
"README.md",
"grammar",
"NMLServer*"
],
"dependencies": {
"vscode-languageclient": "^7.0.0"
},
"activationEvents": [
"onLanguage:nml"
],
"devDependencies": {
"@types/node": "^20.3.3",
"@types/vscode": "^1.75.1",
"@vscode/vsce": "^3.6.0",
"esbuild": "^0.25.8",
"typescript": "^5.1.3"
},
"contributes": {
"commands": [{
"category": "Debug",
"shortTitle": "Draw AST graph",
"title": "Draw AST graph",
"command": "nml-language.drawAST",
"enablement": "editorLangId == 'nml'"
}],
"configurationDefaults": {
"[nml]": {
"editor.semanticHighlighting.enabled": true
}
},
"languages": [
{
"id": "nml",
"aliases": [
"NewGRF Meta Language",
"newgrfml"
],
"extensions": [
"nml",
"pnml"
],
"configuration": "grammar/language-configuration.json"
}
],
"semanticTokenTypes": [
{
"superType": "variable",
"id": "constant",
"description": "A constant value"
}
],
"semanticTokenScopes": [
{
"language": "nml",
"scopes": {
"constant" : ["variable.other.constant"]
}
}
],
"configuration": {
"title": "NewGRF Meta Language",
"properties": {
"newgrfml.languageFolder": {
"type": "string",
"default": "lang",
"description": "The relative folder where the language files are stored"
},
"newgrfml.languageId": {
"type": "integer",
"default": 1,
"description": "The default language id to show during suggestions and hover prompts. If not found, the lowest language ID will be used."
}
}
}
}
}