feat(core): arduino和xpython下代码区右键菜单添加 格式化文档 选项

cpp formatter: https://github.com/wokwi/astyle-wasm.git  (version: 2.0.0)
python formatter: https://github.com/wasm-fmt/ruff_fmt.git (version: 0.14.11)
This commit is contained in:
王立帮
2026-01-13 02:54:45 +08:00
parent 5176c1e57b
commit fadb5228bd
13 changed files with 6508 additions and 3 deletions

View File

@@ -124,6 +124,7 @@
"editor.contextMenu.paste": "Paste",
"editor.contextMenu.togglecomment": "Toggle line comment",
"editor.contextMenu.toggleBlockComment": "Toggle block comment",
"editor.contextMenu.formatDocument": "Format the document",
"editor.contextMenu.enterCodeEditor": "Enter the code editor",
"editor.contextMenu.exitCodeEditor": "Exit the code editor",
"editor.invalidData": "No valid data found",

View File

@@ -124,6 +124,7 @@
"editor.contextMenu.paste": "粘贴",
"editor.contextMenu.togglecomment": "切换行注释",
"editor.contextMenu.toggleBlockComment": "切换块注释",
"editor.contextMenu.formatDocument": "格式化文档",
"editor.contextMenu.enterCodeEditor": "进入代码编辑器",
"editor.contextMenu.exitCodeEditor": "退出代码编辑器",
"editor.invalidData": "未找到有效数据",

View File

@@ -125,6 +125,7 @@
"editor.contextMenu.paste": "貼上",
"editor.contextMenu.togglecomment": "切換行註解",
"editor.contextMenu.toggleBlockComment": "切換區塊註解",
"editor.contextMenu.formatDocument": "格式化文檔",
"editor.contextMenu.enterCodeEditor": "進入程式碼編輯器",
"editor.contextMenu.exitCodeEditor": "退出程式碼編輯器",
"editor.invalidData": "未找到有效資料",