forked from jupyterlab/jupyterlab
/
tracker.json
216 lines (216 loc) · 6.02 KB
/
tracker.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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"title": "Code Console",
"description": "Code Console settings.",
"jupyter.lab.setting-icon": "ui-components:console",
"jupyter.lab.setting-icon-label": "Code Console Settings",
"jupyter.lab.menus": {
"main": [
{
"id": "jp-mainmenu-file",
"items": [
{
"type": "submenu",
"submenu": {
"id": "jp-mainmenu-file-new",
"items": [
{
"command": "console:create",
"rank": 1
}
]
}
}
]
},
{
"id": "jp-mainmenu-settings",
"items": [
{
"type": "separator",
"rank": 9
},
{
"type": "submenu",
"submenu": {
"id": "jp-mainmenu-settings-consoleexecute",
"label": "Console Run Keystroke",
"items": [
{
"command": "console:interaction-mode",
"args": {
"interactionMode": "terminal"
}
},
{
"command": "console:interaction-mode",
"args": {
"interactionMode": "notebook"
}
}
]
},
"rank": 9
},
{
"type": "separator",
"rank": 9
}
]
}
],
"context": [
{
"command": "console:clear",
"selector": ".jp-CodeConsole-content",
"rank": 10
},
{
"command": "console:restart-kernel",
"selector": ".jp-CodeConsole",
"rank": 30
}
]
},
"jupyter.lab.shortcuts": [
{
"command": "console:linebreak",
"keys": ["Enter"],
"selector": ".jp-CodeConsole[data-jp-interaction-mode='notebook'] .jp-CodeConsole-promptCell"
},
{
"command": "console:run-forced",
"keys": ["Shift Enter"],
"selector": ".jp-CodeConsole[data-jp-interaction-mode='notebook'] .jp-CodeConsole-promptCell"
},
{
"command": "console:linebreak",
"keys": ["Accel Enter"],
"selector": ".jp-CodeConsole[data-jp-interaction-mode='terminal'] .jp-CodeConsole-promptCell"
},
{
"command": "console:run-forced",
"keys": ["Shift Enter"],
"selector": ".jp-CodeConsole[data-jp-interaction-mode='terminal'] .jp-CodeConsole-promptCell"
},
{
"command": "console:run-unforced",
"keys": ["Enter"],
"selector": ".jp-CodeConsole[data-jp-interaction-mode='terminal'] .jp-CodeConsole-promptCell"
}
],
"definitions": {
"editorConfig": {
"properties": {
"autoClosingBrackets": {
"type": "boolean",
"title": "Auto Closing Brackets"
},
"cursorBlinkRate": {
"type": "number",
"title": "Cursor Blinking Rate",
"description": "Half-period in milliseconds used for cursor blinking. The default blink rate is 530ms. By setting this to zero, blinking can be disabled. A negative value hides the cursor entirely."
},
"fontFamily": {
"type": ["string", "null"],
"title": "Font Family"
},
"fontSize": {
"type": ["integer", "null"],
"title": "Font Size",
"minimum": 1,
"maximum": 100
},
"lineHeight": {
"title": "Line Height",
"type": ["number", "null"]
},
"lineNumbers": {
"type": "boolean",
"title": "Show Line Numbers"
},
"lineWrap": {
"type": "string",
"enum": ["off", "on", "wordWrapColumn", "bounded"],
"title": "Line Wrap"
},
"matchBrackets": {
"type": "boolean",
"title": "Match Brackets"
},
"readOnly": {
"type": "boolean",
"title": "Read Only"
},
"insertSpaces": {
"type": "boolean",
"title": "Insert Spaces"
},
"tabSize": {
"type": "number",
"title": "Tab Size"
},
"wordWrapColumn": {
"type": "integer",
"title": "Word Wrap Column"
},
"rulers": {
"type": "array",
"title": "Rulers",
"items": {
"type": "number"
}
},
"codeFolding": {
"type": "boolean",
"title": "Code Folding"
},
"lineWiseCopyCut": {
"type": "boolean",
"title": "Line-wise Ctrl-C",
"description": "When enabled, which is the default, doing copy or cut when there is no selection will copy or cut the whole lines that have cursors on them."
}
},
"additionalProperties": false,
"type": "object"
}
},
"properties": {
"interactionMode": {
"title": "Interaction mode",
"description": "Whether the console interaction mimics the notebook\nor terminal keyboard shortcuts.",
"type": "string",
"enum": ["notebook", "terminal"],
"default": "notebook"
},
"showAllKernelActivity": {
"title": "Show All Kernel Activity",
"description": "Whether the console defaults to showing all\nkernel activity or just kernel activity originating from itself.",
"type": "boolean",
"default": false
},
"promptCellConfig": {
"title": "Prompt Cell Configuration",
"description": "The configuration for all prompt cells.",
"$ref": "#/definitions/editorConfig",
"default": {
"autoClosingBrackets": false,
"cursorBlinkRate": 530,
"fontFamily": null,
"fontSize": null,
"lineHeight": null,
"lineNumbers": false,
"lineWrap": "off",
"matchBrackets": true,
"readOnly": false,
"insertSpaces": true,
"tabSize": 4,
"wordWrapColumn": 80,
"rulers": [],
"codeFolding": false,
"lineWiseCopyCut": true
}
}
},
"additionalProperties": false,
"type": "object"
}