дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
feat: add oxfmt/oxlint support for JS and TS projects (#717)
Below an oxfmt configuration (.oxfmtrc.json/.jsonc, oxfmt.config.ts/.mts) Reformat Code runs oxfmt instead of Prettier, with the same external-formatter settings; oxfmt formats whole files, so a selection formats the file with a notice. oxlint --lsp serves JS/TS/React/Vue/Svelte files below an oxlint config. Both are managed npm tools; a missing oxfmt gets the same Install prompt and error handling as Prettier, and formatter messages are translated for either tool. Co-authored-by: d0whc3r <[email protected]>
Цей коміт міститься в:
1 джерело
e2f8e8d5bc
коміт
44c603f7db
14 files changed
+246
-75
No files matched your search
@@ -1614,16 +1614,18 @@
|
||||
"Install Missing Tool": "安装缺失的工具",
|
||||
"Prettier formatting failed": "Prettier 格式化失败",
|
||||
"Prettier formatting timed out": "Prettier 格式化超时",
|
||||
"Prettier does not support selection formatting for this language; formatted the whole file": "Prettier 不支持此语言的选区格式化,已格式化整个文件",
|
||||
"oxfmt formatting failed": "oxfmt 格式化失败",
|
||||
"oxfmt formatting timed out": "oxfmt 格式化超时",
|
||||
"{name} does not support selection formatting for this language; formatted the whole file": "{name} 不支持此语言的选区格式化,已格式化整个文件",
|
||||
"Formatting timed out": "格式化超时",
|
||||
"Prettier: Node.js is required": "Prettier:需要 Node.js",
|
||||
"{name}: Node.js is required": "{name}:需要 Node.js",
|
||||
"Formatter": "格式化工具",
|
||||
"JSON with Comments": "带注释的 JSON",
|
||||
"Unknown external formatter: {tool}": "未知的外部格式化工具:{tool}",
|
||||
"Prettier: package has no CLI entry point": "Prettier:软件包未提供命令行入口",
|
||||
"Prettier: CLI does not exist: {path}": "Prettier:命令行程序不存在:{path}",
|
||||
"Prettier: file has no directory": "Prettier:文件路径不含目录",
|
||||
"Prettier: {error}": "Prettier:{error}",
|
||||
"{name}: package has no CLI entry point": "{name}:软件包未提供命令行入口",
|
||||
"{name}: CLI does not exist: {path}": "{name}:命令行程序不存在:{path}",
|
||||
"{name}: file has no directory": "{name}:文件路径不含目录",
|
||||
"{name}: {error}": "{name}:{error}",
|
||||
"Reformat File": "重新格式化文件",
|
||||
"Reformat code": "重新格式化代码",
|
||||
"Reformat code on save": "保存时重新格式化代码",
|
||||
|
||||
Reference in new issue
Заблокувати користувача