-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
122 lines (122 loc) · 3.46 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
{
"name": "interactive-scala",
"displayName": "Interactive Scala",
"description": "Run Scala code snippets by a click on a button!",
"publisher": "alssys",
"version": "1.4.0",
"repository": "https://github.com/matt035343/interactive-scala",
"icon": "img/icon.png",
"license": "MIT",
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:scala"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "interactiveScala.executeInInteractiveScala",
"title": "Execute selected code in Interactive Scala"
},
{
"command": "interactiveScala.executeFileInInteractiveScala",
"title": "Execute selected file in Interactive Scala"
},
{
"command": "interactiveScala.resetInteractiveScala",
"title": "Reset Interactive Scala"
}
],
"keybindings": [
{
"command": "interactiveScala.executeInInteractiveScala",
"key": "alt+enter",
"when": "editorTextFocus && resourceLangId == scala"
},
{
"command": "interactiveScala.executeFileInInteractiveScala",
"key": "alt+ctrl+enter",
"when": "editorTextFocus && resourceLangId == scala"
},
{
"command": "interactiveScala.resetInteractiveScala",
"key": "alt+ctrl+r",
"when": "editorTextFocus && resourceLangId == scala"
}
],
"configuration": [
{
"title": "Interactive Scala",
"properties": {
"interactiveScala.interpreter": {
"type": "string",
"default": "scala",
"title": "Path for the Scala interpreter to use.",
"markdownDescription": "Here you can provide a path (and custom arguments) to a Scala interpreter REPL. If you want to run the interpreter with flags or parameters, you can also specify it here. E.g. write `scala` to use a system-wide installation of Scala or write `sbt console` to use the SBT interpreter. You can also preload a file, example: `scala -i Test.scala`"
},
"interactiveScala.requiredFiles": {
"type": "array",
"default": [],
"uniqueItems": true,
"description": "Provide a list of jar-files to be required upon start of the REPL.",
"items": {
"type": "string",
"title": "Path to jar-file"
}
},
"interactiveScala.autoStart": {
"type": "boolean",
"default": true,
"title": "Automatic opening of Scala interpreter.",
"markdownDescription": "Automatically open a new integrated terminal and initialise the Scala interpreter upon opening a .scala file."
}
}
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection && resourceLangId == scala",
"command": "interactiveScala.executeInInteractiveScala",
"group": "z_commands"
},
{
"when": "resourceLangId == scala",
"command": "interactiveScala.executeFileInInteractiveScala",
"group": "z_commands"
},
{
"when": "resourceLangId == scala",
"command": "interactiveScala.resetInteractiveScala",
"group": "z_commands"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.37.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"tslint": "^5.12.1",
"vscode-test": "^1.0.2"
},
"extensionDependencies": [
"scala-lang.scala"
]
}