-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.73 KB
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
{
"name": "csv-splitview",
"displayName": "CSV SplitView",
"description": "Side-by-side split preview for CSV/TSV files as colorful tables",
"version": "1.0.10",
"publisher": "purestone",
"repository": {
"type": "git",
"url": "https://github.com/Purestone/vscode-csv-splitview.git"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"main": "dist/extension.js",
"icon": "assets/logo.png",
"activationEvents": [
"onLanguage:csv",
"onLanguage:tsv"
],
"contributes": {
"configuration": {
"title": "CSV SplitView",
"properties": {
"csv-splitview.colors": {
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [
"var(--vscode-symbolIcon-keywordForeground)",
"var(--vscode-symbolIcon-functionForeground)",
"var(--vscode-descriptionForeground)",
"var(--vscode-symbolIcon-variableForeground)",
"var(--vscode-symbolIcon-keywordForeground)",
"var(--vscode-symbolIcon-classForeground)",
"var(--vscode-descriptionForeground)",
"var(--vscode-editorError-foreground)"
],
"description": "Colors to use for the column text. You can use any valid CSS color, including VS Code theme variables."
},
"csv-splitview.autoReleaseTimeout": {
"type": "number",
"scope": "resource",
"default": 30,
"description": "Automatically close the preview when it has been hidden for this many seconds. Set to 0 to disable."
}
}
},
"commands": [
{
"command": "csv-splitview.preview",
"title": "SplitView: Preview CSV",
"icon": "$(table)"
}
],
"menus": {
"editor/title": [
{
"when": "resourceExtname == .csv || resourceExtname == .tsv",
"command": "csv-splitview.preview",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "csv-splitview.preview",
"key": "cmd+alt+v",
"mac": "cmd+alt+v",
"win": "ctrl+alt+v",
"when": "editorTextFocus && (resourceExtname == .csv || resourceExtname == .tsv)"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map"
},
"dependencies": {
"papaparse": "^5.4.1"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/papaparse": "^5.3.14",
"@types/vscode": "^1.80.0",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
}
}