/
package.json
140 lines (140 loc) · 4.91 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
{
"name": "align-mode",
"displayName": "Auto Align",
"description": "Automatically align by commas, vertical bars, etc.",
"icon": "icon.png",
"version": "0.0.21",
"publisher": "Gruntfuggly",
"repository": "https://github.com/Gruntfuggly/auto-align",
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "auto-align.alignColumns",
"title": "Auto Align: Align Columns"
},
{
"command": "auto-align.collapseColumns",
"title": "Auto Align: Collapse Columns"
},
{
"command": "auto-align.enable",
"title": "Auto Align: Enable auto align mode"
},
{
"command": "auto-align.disable",
"title": "Auto Align: Disable auto align mode"
},
{
"command": "auto-align.changeSeparator",
"title": "Auto Align: Change Separator"
},
{
"command": "auto-align.moveCursorToNextField",
"title": "Auto Align: Move Cursor to Next Field"
},
{
"command": "auto-align.moveCursorToPreviousField",
"title": "Auto Align: Move Cursor to Previous Field"
},
{
"command": "auto-align.alignSelection",
"title": "Auto Align: Align Selection"
},
{
"command": "auto-align.alignSelectionWithSeparator",
"title": "Auto Align: Align Selection With Separator"
}
],
"keybindings": [
{
"key": "tab",
"command": "auto-align.moveCursorToNextField",
"when": "editorTextFocus && auto-align-enabled"
},
{
"key": "shift+tab",
"command": "auto-align.moveCursorToPreviousField",
"when": "editorTextFocus && auto-align-enabled"
}
],
"configuration": {
"type": "object",
"title": "Auto Align",
"properties": {
"autoAlign.enabled": {
"type": "object",
"description": "When true, auto formatting is enabled for the file extension",
"default": {
"csv": true,
"bsv": true
}
},
"autoAlign.associations": {
"type": "object",
"description": "Glob patterns to match files that should have auto formatting enabled",
"default": {
"csv": ",",
"bsv": "|"
}
},
"autoAlign.delay": {
"type": "number",
"description": "The delay in milliseconds before auto formatting",
"default": 1000
},
"autoAlign.extraSpace": {
"type": "boolean",
"description": "Automatically add an extra space after the separator for readability",
"default": true
},
"autoAlign.dimSeparators": {
"type": "boolean",
"description": "Set to true to dim the separators when active",
"default": true
},
"autoAlign.endingSeparator": {
"type": "boolean",
"description": "Set to true to include an extra separator at the end of each line.",
"default": false
},
"autoAlign.collapseOnDisable": {
"type": "boolean",
"description": "Collapse the fields when disabling auto align",
"default": false
},
"autoAlign.repositionCursor": {
"type": "boolean",
"description": "Attempt to position the cursor somewhere sensible after formatting",
"default": true
},
"autoAlign.alignment": {
"type": "string",
"enum": [
"left",
"right"
],
"default": "left",
"description": "Which what to align the columns"
}
}
}
},
"devDependencies": {
"vscode": "^1.0.0"
},
"__metadata": {
"id": "01e0d012-2dda-490b-a68f-533f06736a1a",
"publisherDisplayName": "Gruntfuggly",
"publisherId": "d4906d2e-f2ee-492d-9c7c-02b6160599ec"
}
}