优化格式化功能中的自动换行

This commit is contained in:
睿 安
2025-10-22 10:55:24 +08:00
parent 9984dbc8e9
commit 31475aa243
9 changed files with 54 additions and 508 deletions

View File

@@ -2,7 +2,7 @@
"name": "squirrel-nut-explorer",
"displayName": "Squirrel NUT Explorer",
"description": "通过 pvfUtility API 浏览和编辑 NUT 文件",
"version": "1.1.1",
"version": "1.1.4",
"publisher": "local",
"engines": {
"vscode": "^1.99.0"
@@ -132,6 +132,13 @@
"type": "boolean",
"default": false,
"description": "是否在编辑时自动格式化代码"
},
"squirrel.formatting.wrapLineLength": {
"type": "number",
"default": 0,
"description": "代码格式化时的最大行长度,超过此长度会自动换行。设置为 0 表示禁用自动换行",
"minimum": 0,
"maximum": 500
}
}
}