Skip to content

Commit 9271c39

Browse files
committed
feat: enhance configuration with performance monitoring, custom shortcuts, presets, and settings management
- Add performance monitoring settings (maxDuration, maxMemoryUsage, maxCpuUsage, minThroughput, maxCacheSize) - Add custom keyboard shortcut configurations for all commands - Add configuration presets (minimal, balanced, comprehensive, performance, timezone) - Add settings management commands (export, import, reset) - Improve configuration structure and consistency
1 parent 163bcd1 commit 9271c39

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

package.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,21 @@
9999
"command": "dates-le.help",
100100
"title": "%manifest.command.help.title%",
101101
"category": "%manifest.command.category%"
102+
},
103+
{
104+
"command": "dates-le.settings.export",
105+
"title": "%manifest.command.settings.export.title%",
106+
"category": "%manifest.command.category%"
107+
},
108+
{
109+
"command": "dates-le.settings.import",
110+
"title": "%manifest.command.settings.import.title%",
111+
"category": "%manifest.command.category%"
112+
},
113+
{
114+
"command": "dates-le.settings.reset",
115+
"title": "%manifest.command.settings.reset.title%",
116+
"category": "%manifest.command.category%"
102117
}
103118
],
104119
"keybindings": [
@@ -132,6 +147,15 @@
132147
},
133148
{
134149
"command": "dates-le.help"
150+
},
151+
{
152+
"command": "dates-le.settings.export"
153+
},
154+
{
155+
"command": "dates-le.settings.import"
156+
},
157+
{
158+
"command": "dates-le.settings.reset"
135159
}
136160
]
137161
},
@@ -291,6 +315,50 @@
291315
"default": 1000,
292316
"minimum": 100,
293317
"description": "%manifest.settings.performance.max-cache.desc%"
318+
},
319+
"dates-le.keyboard.shortcuts.enabled": {
320+
"type": "boolean",
321+
"default": true,
322+
"description": "%manifest.settings.keyboard.shortcuts.enabled.desc%"
323+
},
324+
"dates-le.keyboard.extractShortcut": {
325+
"type": "string",
326+
"default": "ctrl+alt+d",
327+
"description": "%manifest.settings.keyboard.extract.shortcut.desc%"
328+
},
329+
"dates-le.keyboard.convertShortcut": {
330+
"type": "string",
331+
"default": "ctrl+alt+v",
332+
"description": "%manifest.settings.keyboard.convert.shortcut.desc%"
333+
},
334+
"dates-le.keyboard.analyzeShortcut": {
335+
"type": "string",
336+
"default": "ctrl+alt+a",
337+
"description": "%manifest.settings.keyboard.analyze.shortcut.desc%"
338+
},
339+
"dates-le.presets.enabled": {
340+
"type": "boolean",
341+
"default": true,
342+
"description": "%manifest.settings.presets.enabled.desc%"
343+
},
344+
"dates-le.presets.defaultPreset": {
345+
"type": "string",
346+
"default": "balanced",
347+
"enum": [
348+
"minimal",
349+
"balanced",
350+
"comprehensive",
351+
"performance",
352+
"timezone"
353+
],
354+
"enumDescriptions": [
355+
"%manifest.settings.presets.default.option.minimal%",
356+
"%manifest.settings.presets.default.option.balanced%",
357+
"%manifest.settings.presets.default.option.comprehensive%",
358+
"%manifest.settings.presets.default.option.performance%",
359+
"%manifest.settings.presets.default.option.timezone%"
360+
],
361+
"description": "%manifest.settings.presets.default.desc%"
294362
}
295363
}
296364
}

0 commit comments

Comments
 (0)