-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
197 lines (197 loc) · 5.79 KB
/
Copy pathpackage.json
File metadata and controls
197 lines (197 loc) · 5.79 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
192
193
194
195
196
197
{
"name": "code-organizer",
"displayName": "🗂️ Code Organizer",
"description": "Transform your code into organized, navigable sections using simple comment patterns. Create table-of-contents-like structure with # Section Name ---- syntax. Works with Python, JavaScript, TypeScript, React/JSX, C/C++, Java, Go, Rust, PHP, SQL and more. Perfect for large files and data science notebooks.",
"version": "0.2.1",
"publisher": "ran-codes",
"author": {
"name": "ran-codes",
"url": "https://github.com/ran-codes"
},
"license": "MIT",
"icon": "icon_v2.png",
"preview": false,
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other",
"Formatters",
"Visualization",
"Programming Languages"
],
"keywords": [
"outline",
"navigation",
"sections",
"comments",
"code organization",
"document outline",
"table of contents",
"toc",
"structure",
"folding",
"breadcrumbs",
"symbol provider",
"goto symbol",
"code structure",
"file organization",
"code sections",
"comment patterns",
"hierarchical",
"nested sections",
"minimap",
"productivity",
"workflow",
"developer tools",
"python",
"javascript",
"typescript",
"java",
"c++",
"go",
"rust",
"php",
"sql",
"r",
"data science",
"notebook",
"large files"
],
"activationEvents": [
"*",
"onStartupFinished"
],
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"badges": [
{
"url": "https://img.shields.io/github/stars/ran-codes/code-organizer-vscode?style=social",
"href": "https://github.com/ran-codes/code-organizer-vscode",
"description": "Star on GitHub"
}
],
"qna": "https://github.com/ran-codes/code-organizer-vscode/discussions",
"repository": {
"type": "git",
"url": "https://github.com/ran-codes/code-organizer-vscode.git"
},
"bugs": {
"url": "https://github.com/ran-codes/code-organizer-vscode/issues"
},
"homepage": "https://github.com/ran-codes/code-organizer-vscode#readme",
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Code Organizer",
"properties": {
"codeOrganizer.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable Code Organizer extension"
},
"codeOrganizer.supportedLanguages": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"*"
],
"description": "List of languages to support. Use '*' for all languages, or specify individual languages like 'python', 'javascript', etc."
},
"codeOrganizer.minDashes": {
"type": "number",
"default": 4,
"minimum": 2,
"description": "Minimum number of dashes required for section recognition (e.g., # Section ----)"
},
"codeOrganizer.maxNestingLevel": {
"type": "number",
"default": 4,
"minimum": 1,
"maximum": 6,
"description": "Maximum nesting level for sections (1-6)"
},
"codeOrganizer.showIcons": {
"type": "boolean",
"default": true,
"description": "Show the depth icon before each section name in the Code Organizer view. Turn off for a text-only outline. This does not affect the built-in Outline view or breadcrumbs, whose icons VS Code draws itself — use the built-in 'outline.icons' and 'breadcrumbs.icons' settings for those."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "codeOrganizer",
"title": "Code Organizer",
"icon": "resources/activity-bar-icon.svg"
}
]
},
"views": {
"codeOrganizer": [
{
"id": "codeOrganizerOutlineActivity",
"name": "Code Organizer",
"when": "resourceLangId"
}
]
},
"commands": [
{
"command": "codeOrganizer.activate",
"title": "Activate",
"category": "Code Organizer"
},
{
"command": "codeOrganizer.showView",
"title": "Show Code Organizer",
"category": "Code Organizer"
}
],
"colors": [
{
"id": "codeOrganizer.currentSectionBackground",
"description": "Background of the line holding the section your cursor is in. Must not be opaque — VS Code paints extension decorations on top of the text selection, so a solid color here hides selections made on that line.",
"defaults": {
"dark": "#ffffff0f",
"light": "#0000000a",
"highContrast": "#00000000",
"highContrastLight": "#00000000"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.25.3",
"eslint": "^9.25.1",
"npm-run-all": "^4.1.5",
"ovsx": "^1.1.1",
"typescript": "^5.8.3"
}
}