-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 4.8 KB
/
package.json
File metadata and controls
145 lines (145 loc) · 4.8 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
{
"name": "lazygit-vscode",
"displayName": "LazyGit VSCode",
"description": "Native integration of LazyGit directly in a VSCode window",
"version": "0.1.26",
"publisher": "TomPollak",
"engines": {
"vscode": "^1.85.0"
},
"repository": {
"type": "git",
"url": "https://github.com/tom-pollak/lazygit-vscode"
},
"icon": "logo.png",
"categories": [],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "lazygit-vscode.toggle",
"title": "LazyGit: Toggle"
}
],
"keybindings": [
{
"command": "lazygit-vscode.toggle",
"key": "ctrl+shift+l",
"mac": "cmd+shift+l"
}
],
"configuration": {
"title": "Lazygit",
"properties": {
"lazygit-vscode.lazygitPath": {
"type": "string",
"description": "The path to the lazygit executable",
"scope": "machine"
},
"lazygit-vscode.configPath": {
"type": "string",
"default": "",
"description": "Path to a custom LazyGit config file (otherwise use default)"
},
"lazygit-vscode.panels": {
"type": "object",
"description": "Panel behavior when opening/closing lazygit",
"properties": {
"sidebar": {
"type": "string",
"enum": [
"keep",
"hide",
"hideRestore"
],
"default": "keep",
"description": "Sidebar behavior when showing lazygit",
"enumDescriptions": [
"Keep sidebar as is",
"Hide sidebar when showing lazygit",
"Hide sidebar when showing lazygit and restore when closing"
]
},
"panel": {
"type": "string",
"enum": [
"keep",
"hide",
"hideRestore"
],
"default": "keep",
"description": "Panel behavior when showing lazygit",
"enumDescriptions": [
"Keep panel as is",
"Hide panel when showing lazygit",
"Hide panel when showing lazygit and restore when closing"
]
},
"secondarySidebar": {
"type": "string",
"enum": [
"keep",
"hide",
"hideRestore"
],
"default": "hide",
"description": "Secondary sidebar behavior when showing lazygit",
"enumDescriptions": [
"Keep secondary sidebar as is",
"Hide secondary sidebar when showing lazygit",
"Hide secondary sidebar when showing lazygit and restore when closing"
]
}
}
},
"lazygit-vscode.nativeFileOpening": {
"type": "boolean",
"description": "Automatically handle file opening from lazygit using IPC instead of the 'code' CLI. When enabled, pressing 'e' opens files directly in VSCode without needing 'code' on PATH or 'editPreset: vscode' in your lazygit config.",
"scope": "window",
"default": true
},
"lazygit-vscode.autoMaximizeWindow": {
"type": "boolean",
"description": "Maximize the lazygit window in editor",
"scope": "window",
"default": false
},
"lazygit-vscode.venvActivationDelay": {
"type": "number",
"description": "Delay in milliseconds to wait for Python virtual environment activation before launching lazygit",
"scope": "window",
"default": 200
},
"lazygit-vscode.autoHideSideBar": {
"type": "boolean",
"description": "Auto-hide the side bar when showing lazygit",
"scope": "window",
"markdownDeprecationMessage": "**Deprecated**: Use `panels.sidebar: \"hide\"` or `panels.sidebar: \"hideRestore\"` instead"
},
"lazygit-vscode.autoHidePanel": {
"type": "boolean",
"description": "Auto-hide the panel when showing lazygit",
"scope": "window",
"markdownDeprecationMessage": "**Deprecated**: Use `panels.panel: \"hide\"` or `panels.panel: \"hideRestore\"` instead"
}
}
}
},
"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": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
}
}