From cfb5f660bc88bd0d5903f44827df8c4d85936f76 Mon Sep 17 00:00:00 2001 From: "Ringo.Typowriter" Date: Mon, 2 Mar 2026 14:56:57 +0800 Subject: [PATCH] chore(editor): add Zed workspace settings aligned with VSCode (#154) --- .zed/settings.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .zed/settings.json diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 00000000..667f9329 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,50 @@ +{ + "hard_tabs": false, + "tab_size": 2, + "format_on_save": "off", + "remove_trailing_whitespace_on_save": false, + "languages": { + "TypeScript": { + "hard_tabs": false, + "tab_size": 2, + "format_on_save": "off", + "code_actions_on_format": { + "source.fixAll.eslint": false, + "source.organizeImports": false + } + }, + "JavaScript": { + "hard_tabs": false, + "tab_size": 2, + "format_on_save": "off", + "code_actions_on_format": { + "source.fixAll.eslint": false, + "source.organizeImports": false + } + }, + "TSX": { + "hard_tabs": false, + "tab_size": 2, + "format_on_save": "off", + "code_actions_on_format": { + "source.fixAll.eslint": false, + "source.organizeImports": false + } + }, + "Vue": { + "hard_tabs": false, + "tab_size": 2, + "format_on_save": "off" + }, + "Go": { + "hard_tabs": false, + "tab_size": 4, + "format_on_save": "off" + }, + "Python": { + "hard_tabs": false, + "tab_size": 4, + "format_on_save": "off" + } + } +}