forked from mathworks/MATLAB-extension-for-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.05 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "language-matlab",
"displayName": "MATLAB",
"description": "Edit MATLAB code with syntax highlighting, linting, navigation support, and more",
"icon": "public/L-Membrane_RGB_128x128.png",
"license": "MIT",
"version": "1.0.2",
"engines": {
"vscode": "^1.67.0"
},
"publisher": "MathWorks",
"author": {
"name": "The MathWorks, Inc."
},
"repository": {
"url": "https://github.com/mathworks/MATLAB-extension-for-vscode"
},
"categories": [
"Programming Languages",
"Snippets"
],
"activationEvents": [
"onLanguage:matlab"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "matlab.changeMatlabConnection",
"title": "MATLAB: Change MATLAB Connection"
}
],
"configuration": {
"title": "MATLAB",
"properties": {
"MATLAB.installPath": {
"type": "string",
"markdownDescription": "The full path to the top-level directory of the MATLAB installation you want to use with this extension. You can determine the full path to your MATLAB installation using the `matlabroot` command in MATLAB. For more information, refer to the [README](https://github.com/mathworks/MATLAB-extension-for-vscode/blob/main/README.md).",
"scope": "machine"
},
"MATLAB.matlabConnectionTiming": {
"type": "string",
"default": "onStart",
"description": "Choose when this extension starts MATLAB in the background. Some functionality will be unavailable without MATLAB running in the background.",
"enum": [
"onStart",
"onDemand",
"never"
],
"enumDescriptions": [
"Start MATLAB as soon as a MATLAB code file is opened",
"Start MATLAB when needed for a given action",
"Never start MATLAB"
],
"scope": "window"
},
"MATLAB.indexWorkspace": {
"type": "boolean",
"default": true,
"description": "Automatically index all MATLAB code files (.m) in the current workspace.",
"scope": "window"
},
"MATLAB.telemetry": {
"type": "boolean",
"default": true,
"markdownDescription": "Help improve this extension by sending user experience information to MathWorks. For more information, see the [MathWorks Privacy Policy](https://www.mathworks.com/company/aboutus/policies_statements.html).",
"scope": "window",
"tags": [
"telemetry",
"usesOnlineServices"
]
}
}
},
"languages": [
{
"id": "matlab",
"aliases": [
"MATLAB",
"matlab"
],
"extensions": [
".m"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "matlab",
"scopeName": "source.matlab",
"path": "./syntaxes/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage"
}
],
"snippets": [
{
"language": "matlab",
"path": "./snippets/matlab.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile && cd server && npm prune --production && cd ..",
"compile": "tsc -p ./ && cd server && npm run compile && cd ..",
"watch": "tsc -watch -p ./ && cd server && npm run watch && cd ..",
"pretest": "npm run compile && npm run lint && npm run copy-test-files",
"copy-test-files": "cd src && copyfiles ./test/test-files/**/*.m ./../out/ && cd ..",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"test": "node ./out/test/runTest.js",
"postinstall": "cd server && npm install && cd ..",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.18",
"@types/node-fetch": "^2.6.2",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vscode/test-electron": "^2.1.5",
"@vscode/vsce": "^2.19.0",
"copyfiles": "^2.4.1",
"eslint": "^8.23.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.8.3"
},
"dependencies": {
"node-fetch": "^2.6.6",
"vscode-languageclient": "^8.0.2"
}
}