-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
191 lines (191 loc) · 6.47 KB
/
package.json
File metadata and controls
191 lines (191 loc) · 6.47 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
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
{
"name": "pastum",
"displayName": "Pastum",
"description": "Convert table from clipboard to R, Python, Julia, or JS dataframes and also to SQL or Markdown",
"version": "0.3.2",
"publisher": "atsyplenkov",
"license": "MIT",
"pricing": "Free",
"icon": "assets/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/atsyplenkov/pastum"
},
"homepage": "https://github.com/atsyplenkov/pastum",
"bugs": {
"url": "https://github.com/atsyplenkov/pastum/issues",
"email": "atsyplenkov@fastmail.com"
},
"engines": {
"vscode": "^1.104.0"
},
"categories": [
"Other",
"Snippets"
],
"keywords": [
"paste",
"table",
"markdown",
"paste table",
"keybindings"
],
"activationEvents": [],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "pastum.Rdataframe",
"title": "Table ➔ R Dataframe",
"category": "Pastum"
},
{
"command": "pastum.Pydataframe",
"title": "Table ➔ Python Dataframe",
"category": "Pastum"
},
{
"command": "pastum.Jldataframe",
"title": "Table ➔ Julia Dataframe",
"category": "Pastum"
},
{
"command": "pastum.JSdataframe",
"title": "Table ➔ JavaScript Dataframe",
"category": "Pastum"
},
{
"command": "pastum.Sql",
"title": "Table ➔ SQL",
"category": "Pastum"
},
{
"command": "pastum.Markdown",
"title": "Table ➔ Markdown",
"category": "Pastum"
},
{
"command": "pastum.Defaultdataframe",
"title": "Pastum: paste as default dataframe"
}
],
"menus": {
"editor/context": [
{
"when": "config.pastum.showContextMenu && (editorLangId == 'r' || editorLangId == 'python' || editorLangId == 'julia'|| editorLangId == 'javascript')",
"command": "pastum.Defaultdataframe",
"group": "navigation@1"
}
]
},
"configuration": {
"type": "object",
"title": "Pastum Configuration",
"properties": {
"pastum.decimalPoint": {
"type": "string",
"enum": [
"10,000.00",
"10 000.00",
"10 000,00",
"10.000,00"
],
"default": "10,000.00",
"markdownDescription": "Select default decimal separator *(e.g., '.' in `12.45`)* and digit group separator *(i.e. in numbers over 999)*. For example, `12,345.67` will be converted to `12345.67`. To learn more about decimal point and digit group separator, see [Wikipedia article](https://en.m.wikipedia.org/wiki/Decimal_separator)."
},
"pastum.defaultConvention": {
"type": "string",
"enum": [
"PascalCase",
"camelCase",
"snake_case"
],
"default": "PascalCase",
"markdownDescription": "Select naming convention for column names preprocessing. To learn more about naming conventions in programming, see [freecodecamp post](https://www.freecodecamp.org/news/snake-case-vs-camel-case-vs-pascal-case-vs-kebab-case-whats-the-difference/#kebab-case). For example, `Hello World!` will be converted to \n\n - PascalCase: `HelloWorld` \n\n - camelCase: `helloWorld` \n\n - snake_case: `hello_world`"
},
"pastum.showContextMenu": {
"type": "boolean",
"default": true,
"markdownDescription": "Show the `Pastum: paste as default dataframe` command in the editor context menu *(i.e., right-click menu)*. It will only appear in R, Python, and Julia editors. The dataframe will be pasted according to the specified `pastum.defaultDataframeR` and `pastum.defaultDataframePy`."
},
"pastum.libraryDeclaration": {
"type": "boolean",
"default": true,
"markdownDescription": "Add library declaration to the pasted dataframe. (i.e., `import pandas as pd`) before the pasted dataframe."
},
"pastum.airFormat": {
"type": "boolean",
"default": true,
"markdownDescription": "Add comment to skip air formatting in R. (i.e., `# fmt:skip`) before the pasted dataframe."
},
"pastum.defaultDataframeR": {
"type": "string",
"enum": [
"base",
"tribble 🔢",
"tibble ✨",
"data.table 🎩"
],
"default": "tribble 🔢",
"markdownDescription": "Select the default framework for R dataframes to be pasted using the `pastum.Defaultdataframe` command."
},
"pastum.defaultDataframePython": {
"type": "string",
"enum": [
"pandas 🐼",
"polars 🐻",
"datatable 🎩"
],
"default": "pandas 🐼",
"markdownDescription": "Select the default framework for Python dataframes to be pasted using the `pastum.Defaultdataframe` command."
},
"pastum.defaultDataframeJavascript": {
"type": "string",
"enum": [
"base",
"polars 🐻",
"arquero 🏹",
"danfo 🐝"
],
"default": "polars 🐻",
"markdownDescription": "Select the default framework for JavaScript dataframes to be pasted using the `pastum.Defaultdataframe` command."
},
"pastum.defaultAligmentMarkdown": {
"type": "string",
"enum": [
"columnar ↔️",
"compact ↩️"
],
"default": "columnar ↔️",
"markdownDescription": "Select the default aligment for Markdown tables to be pasted using the `pastum.Defaultdataframe` command."
},
"pastum.defaultSqlStatement": {
"type": "string",
"enum": [
"SELECT FROM VALUES",
"SELECT UNION ALL",
"INSERT INTO VALUES",
"INSERT INTO SELECT VALUES",
"INSERT INTO",
"DELETE WHERE",
"UPDATE WHERE",
"MERGE INTO",
"CREATE TABLE"
],
"default": "INSERT INTO VALUES",
"markdownDescription": "Select the default SQL statement to be pasted using the `pastum.Defaultdataframe` command."
}
}
}
},
"scripts": {
"test": "vscode-test"
},
"devDependencies": {
"@types/node": "24.x",
"@types/vscode": "^1.104.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"typescript": "^5.9.3"
}
}