-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
185 lines (185 loc) · 6.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
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
{
"name": "postgresql-hacker-helper",
"displayName": "PostgreSQL Hacker Helper",
"description": "Extension to assist Postgres hackers - source code developers",
"version": "1.4.5",
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Debuggers",
"Formatters",
"Other"
],
"icon": "resources/logo.png",
"activationEvents": [
"workspaceContains:.vscode/pgsql_hacker_helper.json",
"workspaceContains:**/src/include/nodes/nodes.h",
"workspaceContains:**/src/include/nodes/nodetags.h"
],
"main": "./out/entrypoint.js",
"publisher": "ash-blade",
"repository": {
"type": "git",
"url": "https://github.com/ashenBlade/postgres-dev-helper.git"
},
"keywords": [
"PostgreSQL",
"postgresql",
"postgres",
"pgsql",
"pg",
"c",
"pgindent",
"formatter",
"format"
],
"contributes": {
"commands": [
{
"command": "postgresql-hacker-helper.dumpNodeToLog",
"title": "Dump Node to stdout",
"shortTitle": "Dump Node to stdout",
"category": "PgSQL"
},
{
"command": "postgresql-hacker-helper.openConfigurationFile",
"title": "Open or create configuration file (JSON)",
"shortTitle": "Open configuration file",
"category": "PgSQL"
},
{
"command": "postgresql-hacker-helper.refreshPostgresVariablesView",
"title": "Refresh Postgres variables view",
"shortTitle": "Refresh variables view",
"category": "PgSQL",
"icon": "$(refresh)"
},
{
"command": "postgresql-hacker-helper.refreshConfigFile",
"title": "Refresh configuration file",
"shortTitle": "Refresh config file",
"category": "PgSQL"
},
{
"command": "postgresql-hacker-helper.formatterShowDiff",
"title": "Show diff preview for PostgreSQL formatter",
"shortTitle": "Diff PostgreSQL formatter",
"category": "PgSQL"
},
{
"command": "postgresql-hacker-helper.bootstrapExtension",
"title": "Bootstrap extension",
"shortTitle": "Bootstrap extension",
"category": "PgSQL"
}
],
"menus": {
"debug/variables/context": [
{
"command": "postgresql-hacker-helper.dumpNodeToLog",
"when": "inDebugMode && debugState == stopped && postgresql-hacker-helper:activated"
}
],
"view/title": [
{
"command": "postgresql-hacker-helper.refreshPostgresVariablesView",
"group": "navigation",
"when": "inDebugMode && debugState == stopped && postgresql-hacker-helper:activated"
}
],
"commandPalette": [
{
"command": "postgresql-hacker-helper.dumpNodeToLog",
"when": "false"
},
{
"command": "postgresql-hacker-helper.refreshPostgresVariablesView",
"group": "navigation",
"when": "inDebugMode && debugState == stopped && postgresql-hacker-helper:activated"
}
]
},
"colors": [
{
"id": "pghelper.sample.color",
"description": "Color for ",
"defaults": {
"dark": "errorForeground",
"light": "errorForeground"
}
}
],
"views": {
"debug": [
{
"id": "postgresql-hacker-helper.node-tree-view",
"name": "pg variables",
"type": "tree",
"visibility": "visible",
"when": "inDebugMode && postgresql-hacker-helper:activated"
}
]
},
"configuration": {
"title": "PostgreSQL Hacker Helper",
"properties": {
"postgresql-hacker-helper.nodeTagFiles": {
"title": "Files with NodeTags",
"type": "array",
"default": null,
"description": "Files, where NodeTag values defined. It will be used to check if variable can have NodeTag.\nCan be either relative or absolute path. Relative paths will be applied with base path of `srcPath` setting"
},
"postgresql-hacker-helper.logLevel": {
"title": "Log level",
"type": "string",
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"DISABLE"
],
"default": "INFO",
"description": "Minimum level of log messages to display in Output view. For VS Code version greater 1.74.0 use log level in Output channel panel"
},
"postgresql-hacker-helper.pg_bsd_indentPath": {
"title": "Path to pg_bsd_indent",
"type": "string",
"description": "Path to pg_bsd_indent executable used to format file.\nIf not specified, pg_bsd_indent will be search in all available location, and maybe built"
},
"postgresql-hacker-helper.srcPath": {
"title": "Path to root of PostgreSQL source files",
"type": "string",
"description": "Path to source files of PostgreSQL. Set it if you have sources in separate sub-directory from root of project.\nIf not set search will start in project root directory"
}
}
},
"jsonValidation": [
{
"fileMatch": "pgsql_hacker_helper.json",
"url": "./properties.schema.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.30.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5"
}
}