-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 4.1 KB
/
package.json
File metadata and controls
164 lines (164 loc) · 4.1 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "noesisgui-tools",
"publisher": "NoesisTechnologies",
"description": "Rich support for NoesisGUI and the XAML markup language. ",
"displayName": "NoesisGUI XAML Tools",
"author": "Noesis Technologies S.L.",
"license": "",
"version": "0.0.0",
"icon": "resources/images/favicon.png",
"repository": {
"type": "git",
"url": "https://github.com/Noesis/LanguageServer"
},
"bugs": {
"url": "https://www.noesisengine.com/bugs/"
},
"categories": [],
"activationEvents": [
"workspaceContains:**/*.xaml",
"onLanguage:xaml"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "NoesisGUI XAML Tools",
"properties": {
"noesisgui-tools.createLanguageServerInstance": {
"type": "boolean",
"default": true,
"description": "Create a NoesisGUI Language Server instance"
},
"noesisgui-tools.languageServerPath": {
"type": "string",
"default": "",
"description": "NoesisGUI Language Server path, leave empty to use the bundled server"
},
"noesisgui-tools.languageServerArgs": {
"type": "array",
"default": [],
"description": "NoesisGUI Language Server arguments"
},
"noesisgui-tools.openRenderPreviewOnStart": {
"type": "boolean",
"default": false,
"description": "Open the XAML Render Preview when NoesisGUI Tools starts"
},
"noesisgui-tools.autoCreateQuotes": {
"type": "boolean",
"default": true,
"description": "Automatically add quotes to attribute properties"
},
"noesisgui-tools.autoClosingTags": {
"type": "boolean",
"default": true,
"description": "Automatically close tags"
},
"noesisgui-tools.diagnosticsTrigger": {
"type": "string",
"default": "onChange",
"enum": [
"disabled",
"onChange",
"onSave"
],
"enumDescriptions": [
"Disable diagnostics (this will also disable render previews)",
"Generate diagnostics when a XAML document changes",
"Generate diagnostics when a XAML document is saved"
],
"description": "Change how diagnostics, and render previews, are generated"
},
"noesisgui-tools.diagnosticsChangeDelay": {
"type": "number",
"default": 600,
"description": "Milliseconds to wait before generating diagnostics and render previews"
},
"noesisgui-tools.xamlPreviewRenderTime": {
"type": "number",
"default": 10,
"description": "At what view time, in seconds, the preview is rendered"
}
}
},
"languages": [
{
"id": "xaml",
"extensions": [
".xaml"
],
"aliases": [
"XAML",
"Xaml",
"xaml"
],
"configuration": "./config/xaml.language-configuration.json",
"icon": {
"light": "./resources/images/xamlicon.png",
"dark": "./resources/images/xamlicon.png"
}
}
],
"grammars": [
{
"language": "xaml",
"scopeName": "text.xaml",
"path": "./syntaxes/xaml.tmLanguage.json"
}
],
"configurationDefaults": {
"[xaml]": {
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.wordBasedSuggestions": "off",
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
}
},
"commands": [
{
"command": "noesisTool.openPreview",
"title": "Open XAML Preview"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == xaml",
"command": "noesisTool.openPreview",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./src --ext .ts,.tsx"
},
"engines": {
"vscode": "^1.63.0"
},
"dependencies": {
"await-notify": "^1.0.1",
"net": "^1.0.2",
"vscode-languageclient": "^7.0.0",
"portfinder": "^1.0.32"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"eslint": "^8.13.0",
"mocha": "^9.2.1",
"typescript": "^4.8.4"
}
}