forked from jupyterlab/jupyterlab
/
plugin.json
139 lines (139 loc) · 3.28 KB
/
plugin.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
{
"title": "Document Manager",
"description": "Document Manager settings.",
"jupyter.lab.setting-icon": "ui-components:file",
"jupyter.lab.setting-icon-label": "Document Manager",
"jupyter.lab.transform": true,
"jupyter.lab.menus": {
"main": [
{
"id": "jp-mainmenu-file",
"items": [
{
"command": "docmanager:clone",
"rank": 2
},
{
"type": "separator",
"rank": 4
},
{
"command": "docmanager:save",
"rank": 4
},
{
"command": "docmanager:save-as",
"rank": 4
},
{
"command": "docmanager:save-all",
"rank": 4
},
{
"type": "separator",
"rank": 5
},
{
"command": "docmanager:reload",
"rank": 5
},
{
"command": "docmanager:restore-checkpoint",
"rank": 5
},
{
"command": "docmanager:rename",
"rank": 5
}
]
},
{
"id": "jp-mainmenu-settings",
"items": [
{
"type": "separator",
"rank": 4
},
{
"command": "docmanager:toggle-autosave",
"rank": 4
},
{
"command": "docmanager:toggle-name-file-on-save",
"rank": 4
},
{
"type": "separator",
"rank": 4
}
]
}
],
"context": [
{
"command": "docmanager:rename",
"selector": "[data-type=\"document-title\"]",
"rank": 20
},
{
"command": "docmanager:delete",
"selector": "[data-type=\"document-title\"]",
"rank": 21
},
{
"command": "docmanager:clone",
"selector": "[data-type=\"document-title\"]",
"rank": 22
},
{
"command": "docmanager:show-in-file-browser",
"selector": "[data-type=\"document-title\"]",
"rank": 23
}
]
},
"jupyter.lab.shortcuts": [
{
"command": "docmanager:save",
"keys": ["Accel S"],
"selector": "body"
},
{
"command": "docmanager:save-as",
"keys": ["Accel Shift S"],
"selector": "body"
}
],
"properties": {
"autosave": {
"type": "boolean",
"title": "Autosave Documents",
"description": "Whether to autosave documents",
"default": true
},
"autosaveInterval": {
"type": "number",
"title": "Autosave Interval",
"description": "Length of save interval in seconds",
"default": 120
},
"lastModifiedCheckMargin": {
"type": "number",
"title": "Margin for last modified timestamp check",
"description": "Max acceptable difference, in milliseconds, between last modified timestamps on disk and client",
"default": 500
},
"defaultViewers": {
"type": "object",
"title": "Default Viewers",
"default": {},
"description": "Overrides for the default viewers for file types",
"properties": {},
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false,
"type": "object"
}