forked from atom-minimap/minimap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
207 lines (207 loc) · 6.44 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
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
{
"name": "minimap",
"main": "./lib/main",
"version": "4.25.6",
"private": true,
"description": "A preview of the full source code.",
"author": "Fangdun Cai <cfddream@gmail.com>",
"keywords": [
"minimap",
"overview"
],
"scripts": {
"standard": "standard",
"esdoc": "esdoc -c esdoc.json"
},
"contributors": [
{
"name": "Fangdun Cai",
"email": "cfddream@gmail.com"
},
{
"name": "Cédric Néhémie",
"email": "cedric.nehemie@gmail.com"
}
],
"repository": "https://github.com/atom-minimap/minimap",
"license": "MIT",
"engines": {
"atom": ">=1.7.0"
},
"providedServices": {
"minimap": {
"description": "Exposes the minimap API to other packages",
"versions": {
"1.0.0": "provideMinimapServiceV1"
}
}
},
"viewProviders": [
"minimapViewProvider"
],
"configSchema": {
"plugins": {
"type": "object",
"properties": {}
},
"autoToggle": {
"type": "boolean",
"default": true
},
"displayMinimapOnLeft": {
"type": "boolean",
"default": false
},
"displayCodeHighlights": {
"type": "boolean",
"default": true,
"description": "Toggles the render of the buffer tokens in the minimap."
},
"displayPluginsControls": {
"type": "boolean",
"default": true,
"description": "You need to restart Atom for this setting to be effective."
},
"minimapScrollIndicator": {
"type": "boolean",
"default": true,
"description": "Toggles the display of a side line showing which part of the buffer is currently displayed by the minimap. This side line will only appear if the minimap is taller than the editor view height."
},
"useHardwareAcceleration": {
"type": "boolean",
"default": true
},
"adjustMinimapWidthToSoftWrap": {
"type": "boolean",
"default": true,
"description": "If this option is enabled and Soft Wrap is checked then the Minimap max width is set to the Preferred Line Length value."
},
"adjustMinimapWidthOnlyIfSmaller": {
"type": "boolean",
"default": true,
"description": "If this option and `adjustMinimapWidthToSoftWrap` are enabled the minimap width will never go past the limit sets by CSS. On the other hand, when disabled the minimap will expand to honor the preferred line width."
},
"devicePixelRatioRounding": {
"type": "boolean",
"default": true,
"description": "Toggles the rounding of the devicePixelRatio in the minimap."
},
"charWidth": {
"type": "number",
"default": 1,
"minimum": 0.5
},
"charHeight": {
"type": "number",
"default": 2,
"minimum": 0.5
},
"interline": {
"type": "number",
"default": 1,
"minimum": 0,
"description": "The space between lines in the minimap in pixels."
},
"textOpacity": {
"type": "number",
"default": 0.6,
"minimum": 0,
"maximum": 1,
"description": "The opacity used to render the line's text in the minimap."
},
"scrollAnimation": {
"type": "boolean",
"default": false,
"description": "Enables animations when scrolling by clicking on the minimap."
},
"scrollAnimationDuration": {
"type": "integer",
"default": 300,
"description": "The duration of scrolling animations when clicking on the minimap."
},
"moveCursorOnMinimapClick": {
"type": "boolean",
"default": false,
"description": "Moves the cursor to the beginning of the target line when clicking on the minimap"
},
"smoothScrolling": {
"type": "boolean",
"default": true,
"description": "Whether to offset the minimap canvas when scrolling to keep the scroll smooth. When `true` the minimap canvas will be offseted, resulting in a smoother scroll, but with the side-effect of a blurry minimap when the canvas is placed between pixels. When `false` the canvas will always stay at the same position, and will never look blurry, but the scroll will appear more jagged."
},
"independentMinimapScroll": {
"type": "boolean",
"title": "Independent Minimap Scroll On Mouse Wheel Events",
"default": false,
"description": "When enabled, using the mouse wheel over the Minimap will make it scroll independently of the text editor. The Minimap will still sync with the editor whenever the editor is scrolled, but it will no longer relay the mouse wheel events to the editor."
},
"scrollSensitivity": {
"type": "number",
"default": 0.5,
"description": "The scrolling speed when the `Independent Minimap Scroll On Mouse Wheel Events` setting is enabled."
},
"createPluginInDevMode": {
"type": "boolean",
"default": false
},
"absoluteMode": {
"type": "boolean",
"default": false,
"description": "When enabled the text editor content will be able to flow below the minimap."
},
"adjustAbsoluteModeHeight": {
"type": "boolean",
"default": false,
"description": "When enabled and `Absolute Mode` is also enabled, the minimap height will be adjusted to only take the space required by the text editor content, leaving the space below triggering mouse events on the text editor. **Be aware this can have some impact on performances as the minimap canvases will be resized every time a change in the editor make its height change.**"
},
"ignoreWhitespacesInTokens": {
"type": "boolean",
"default": false,
"description": "When enabled, text editor tokens are rendered as plain blocks, with no regards to the whitespaces they contains."
}
},
"dependencies": {
"atom-utils": ">=0.9.2",
"delegato": "1.x",
"fs-plus": "2.x",
"mixto": "1.x",
"underscore-plus": "1.x"
},
"devDependencies": {
"babel-eslint": "^4.1.6",
"esdoc": "^0.4.0",
"esdoc-es7-plugin": "0.0.3",
"standard": "^5.1.0"
},
"standard": {
"parser": "babel-eslint",
"globals": [
"advanceClock",
"atom",
"beforeEach",
"afterEach",
"expect",
"describe",
"fdescribe",
"ffdescribe",
"fffdescribe",
"xdescribe",
"it",
"xit",
"fit",
"ffit",
"fffit",
"jasmine",
"MouseEvent",
"runs",
"spyOn",
"waits",
"waitsFor",
"waitsForPromise",
"devicePixelRatio",
"requestAnimationFrame",
"Event",
"MouseEvent"
]
}
}