feat: new mappings
This commit is contained in:
1 parent
5efe72e2d7
commit
fe9c32acf1
2 files changed
+123
-116
No files matched your search
+38
-54
@@ -4,44 +4,37 @@
|
|||||||
// ╰────────────────────────────────╯
|
// ╰────────────────────────────────╯
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"context": "Workspace",
|
"context": "Workspace || Editor || OutlinePanel || ProjectPanel || GitPanel || Terminal",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-h": "workspace::ActivatePaneLeft",
|
"ctrl-h": "workspace::ActivatePaneLeft",
|
||||||
"ctrl-l": "workspace::ActivatePaneRight",
|
"ctrl-l": "workspace::ActivatePaneRight",
|
||||||
"ctrl-k": "workspace::ActivatePaneUp",
|
"ctrl-k": "workspace::ActivatePaneUp",
|
||||||
"ctrl-j": "workspace::ActivatePaneDown",
|
"ctrl-j": "workspace::ActivatePaneDown",
|
||||||
"ctrl-shift-f": "file_finder::Toggle",
|
"ctrl-shift-f": "project_search::SearchInNew",
|
||||||
"ctrl-x": "task::Spawn",
|
|
||||||
"ctrl-shift-x": "task::Rerun",
|
"ctrl-shift-x": "task::Rerun",
|
||||||
"ctrl-p": "projects::OpenRecent"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"context": "Editor",
|
|
||||||
"bindings": {
|
|
||||||
// "j k": ["workspace::SendKeystrokes", "escape"],
|
|
||||||
"ctrl-h": "workspace::ActivatePaneLeft",
|
|
||||||
"ctrl-l": "workspace::ActivatePaneRight",
|
|
||||||
"ctrl-k": "workspace::ActivatePaneUp",
|
|
||||||
"ctrl-j": "workspace::ActivatePaneDown",
|
|
||||||
|
|
||||||
"ctrl-t": "workspace::NewFile",
|
"ctrl-e": "project_panel::Toggle",
|
||||||
"ctrl-w": "pane::CloseActiveItem",
|
"ctrl-a": "outline_panel::Toggle",
|
||||||
"ctrl-W": "pane::CloseAllItems",
|
"ctrl-g": "git_panel::Toggle",
|
||||||
|
|
||||||
"ctrl-n": "project_panel::ToggleFocus",
|
|
||||||
"ctrl-a": "outline_panel::ToggleFocus",
|
|
||||||
"ctrl-g": "git_panel::ToggleFocus",
|
|
||||||
|
|
||||||
"ctrl-p": "projects::OpenRecent",
|
"ctrl-p": "projects::OpenRecent",
|
||||||
"ctrl-x": "task::Spawn",
|
"ctrl-x": "task::Spawn",
|
||||||
"ctrl-z": "workspace::ToggleBottomDock",
|
"ctrl-z": "workspace::ToggleBottomDock",
|
||||||
"ctrl-m": "workspace::ToggleCenteredLayout",
|
"ctrl-m": "workspace::ToggleCenteredLayout",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-t": "workspace::NewFile",
|
||||||
|
"ctrl-w": "pane::CloseActiveItem",
|
||||||
|
"ctrl-W": "pane::CloseOtherItems",
|
||||||
|
|
||||||
"ctrl-shift-l": "pane::SplitRight",
|
"ctrl-shift-l": "pane::SplitRight",
|
||||||
"ctrl-shift-j": "pane::SplitDown",
|
"ctrl-shift-j": "pane::SplitDown",
|
||||||
"ctrl-shift-h": "pane::SplitLeft",
|
"ctrl-shift-h": "pane::SplitLeft",
|
||||||
"ctrl-shift-k": "pane::SplitUp"
|
"ctrl-shift-k": "pane::SplitUp",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && vim_mode == insert",
|
"context": "Editor && vim_mode == insert",
|
||||||
@@ -50,34 +43,22 @@
|
|||||||
// "workspace::SendKeystrokes",
|
// "workspace::SendKeystrokes",
|
||||||
// "escape"
|
// "escape"
|
||||||
// ]
|
// ]
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "OutlinePanel",
|
"context": "OutlinePanel",
|
||||||
"bindings": {
|
"bindings": {},
|
||||||
"ctrl-a": "workspace::ToggleLeftDock",
|
|
||||||
"ctrl-n": "project_panel::ToggleFocus",
|
|
||||||
"ctrl-g": "git_panel::ToggleFocus"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectPanel",
|
"context": "ProjectPanel",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-n": "workspace::ToggleLeftDock",
|
|
||||||
"ctrl-a": "outline_panel::ToggleFocus",
|
|
||||||
"ctrl-g": "git_panel::ToggleFocus",
|
|
||||||
"f12": "project_panel::Rename",
|
"f12": "project_panel::Rename",
|
||||||
"shift-enter": "project_panel::OpenWithSystem",
|
"shift-enter": "workspace::OpenWithSystem",
|
||||||
"/": "project_panel::NewSearchInDirectory"
|
},
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "GitPanel",
|
"context": "GitPanel",
|
||||||
"bindings": {
|
"bindings": {},
|
||||||
"ctrl-g": "workspace::ToggleLeftDock",
|
|
||||||
"ctrl-a": "outline_panel::ToggleFocus",
|
|
||||||
"ctrl-n": "project_panel::ToggleFocus"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "ProjectPanel && not_editing",
|
"context": "ProjectPanel && not_editing",
|
||||||
@@ -86,23 +67,25 @@
|
|||||||
"c": "project_panel::Copy",
|
"c": "project_panel::Copy",
|
||||||
"r": "project_panel::Rename",
|
"r": "project_panel::Rename",
|
||||||
"x": "project_panel::Cut",
|
"x": "project_panel::Cut",
|
||||||
"y": "workspace::CopyRelativePath",
|
"Y": "workspace::CopyPath",
|
||||||
|
"y": "project_panel::Copy",
|
||||||
|
"p": "project_panel::Paste",
|
||||||
"a": "project_panel::NewFile",
|
"a": "project_panel::NewFile",
|
||||||
"A": "project_panel::NewDirectory"
|
"A": "project_panel::NewDirectory",
|
||||||
}
|
"/": "project_panel::NewSearchInDirectory",
|
||||||
|
"g h": "git::FileHistory",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && (showing_code_actions || showing_completions)",
|
"context": "Editor && (showing_code_actions || showing_completions)",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"up": "editor::ContextMenuPrevious",
|
"up": "editor::ContextMenuPrevious",
|
||||||
"ctrl-p": "editor::ContextMenuPrevious",
|
|
||||||
"down": "editor::ContextMenuNext",
|
"down": "editor::ContextMenuNext",
|
||||||
"ctrl-n": "editor::ContextMenuNext",
|
|
||||||
"pageup": "editor::ContextMenuFirst",
|
"pageup": "editor::ContextMenuFirst",
|
||||||
"pagedown": "editor::ContextMenuLast",
|
"pagedown": "editor::ContextMenuLast",
|
||||||
"tab": "editor::ContextMenuNext",
|
"tab": "editor::ContextMenuNext",
|
||||||
"shift-tab": "editor::ContextMenuPrevious"
|
"shift-tab": "editor::ContextMenuPrevious",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && vim_mode == normal",
|
"context": "Editor && vim_mode == normal",
|
||||||
@@ -114,19 +97,20 @@
|
|||||||
"space r": "editor::Rename",
|
"space r": "editor::Rename",
|
||||||
"space x": "pane::CloseActiveItem",
|
"space x": "pane::CloseActiveItem",
|
||||||
"space X": "pane::CloseAllItems",
|
"space X": "pane::CloseAllItems",
|
||||||
"space g": "git_panel::ToggleFocus",
|
"space g g": "git_panel::Toggle",
|
||||||
|
"space g h": "editor::ToggleSelectedDiffHunks",
|
||||||
|
"space g b": "git::Blame",
|
||||||
"space f a": "pane::DeploySearch",
|
"space f a": "pane::DeploySearch",
|
||||||
"space f w": "project_symbols::Toggle",
|
"space f w": "project_symbols::Toggle",
|
||||||
"space space": "file_finder::Toggle"
|
"space f f": "file_finder::Toggle",
|
||||||
}
|
"space space": "editor::FindAllReferences",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Terminal",
|
"context": "Terminal",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-n": "workspace::ToggleLeftDock",
|
|
||||||
"ctrl-t": "workspace::NewTerminal",
|
"ctrl-t": "workspace::NewTerminal",
|
||||||
"ctrl-w": "pane::CloseActiveItem",
|
"ctrl-w": "pane::CloseActiveItem",
|
||||||
"ctrl-z": "workspace::ToggleBottomDock"
|
},
|
||||||
}
|
},
|
||||||
}
|
|
||||||
]
|
]
|
||||||
+85
-62
@@ -6,17 +6,40 @@
|
|||||||
// ╭─────────╮
|
// ╭─────────╮
|
||||||
// │ General │
|
// │ General │
|
||||||
// ╰─────────╯
|
// ╰─────────╯
|
||||||
|
"window_title_format": "${projectName}${separator}${fileName}",
|
||||||
|
"status_bar": {
|
||||||
|
"show_active_file": false,
|
||||||
|
},
|
||||||
|
"icon_theme": {
|
||||||
|
"mode": "dark",
|
||||||
|
"light": "Zed (Default)",
|
||||||
|
"dark": "Zed (Default)",
|
||||||
|
},
|
||||||
|
"zoomed_padding": true,
|
||||||
|
"close_panel_on_toggle": false,
|
||||||
|
"window_decorations": "server",
|
||||||
|
"use_system_window_tabs": true,
|
||||||
|
"bottom_dock_layout": "contained",
|
||||||
|
"edit_predictions": {
|
||||||
|
"provider": "none",
|
||||||
|
},
|
||||||
|
"git_panel": {
|
||||||
|
"dock": "left",
|
||||||
|
},
|
||||||
"auto_update_extensions": {
|
"auto_update_extensions": {
|
||||||
"flat-theme": false
|
"flat-theme": false,
|
||||||
},
|
},
|
||||||
"auto_update": true,
|
"auto_update": true,
|
||||||
"base_keymap": "VSCode",
|
"base_keymap": null,
|
||||||
"restore_on_startup": "last_session",
|
"restore_on_startup": "last_session",
|
||||||
// ╭─────────╮
|
// ╭─────────╮
|
||||||
// │ Styling │
|
// │ Styling │
|
||||||
// ╰─────────╯
|
// ╰─────────╯
|
||||||
"icon_theme": "Bearded Icon Theme",
|
"theme": {
|
||||||
"theme": "Ayu Mirage",
|
"mode": "dark",
|
||||||
|
"light": "Ayu Light",
|
||||||
|
"dark": "One Dark",
|
||||||
|
},
|
||||||
"unnecessary_code_fade": 0.2,
|
"unnecessary_code_fade": 0.2,
|
||||||
// ╭──────╮
|
// ╭──────╮
|
||||||
// │ Font │
|
// │ Font │
|
||||||
@@ -37,16 +60,13 @@
|
|||||||
"current_line_highlight": "all",
|
"current_line_highlight": "all",
|
||||||
"cursor_blink": true,
|
"cursor_blink": true,
|
||||||
"cursor_shape": "bar",
|
"cursor_shape": "bar",
|
||||||
"features": {
|
|
||||||
"edit_prediction_provider": "none"
|
|
||||||
},
|
|
||||||
"tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
"tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
||||||
"git": {
|
"git": {
|
||||||
"git_gutter": "tracked_files",
|
"git_gutter": "tracked_files",
|
||||||
"inline_blame": {
|
"inline_blame": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"show_commit_summary": true
|
"show_commit_summary": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"hard_tabs": true,
|
"hard_tabs": true,
|
||||||
"hover_popover_enabled": true,
|
"hover_popover_enabled": true,
|
||||||
@@ -56,7 +76,7 @@
|
|||||||
"line_width": 1,
|
"line_width": 1,
|
||||||
"active_line_width": 2,
|
"active_line_width": 2,
|
||||||
"coloring": "fixed",
|
"coloring": "fixed",
|
||||||
"background_coloring": "disabled"
|
"background_coloring": "disabled",
|
||||||
},
|
},
|
||||||
"inlay_hints": {
|
"inlay_hints": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -65,7 +85,7 @@
|
|||||||
"show_other_hints": true,
|
"show_other_hints": true,
|
||||||
"show_background": false,
|
"show_background": false,
|
||||||
"edit_debounce_ms": 700,
|
"edit_debounce_ms": 700,
|
||||||
"scroll_debounce_ms": 50
|
"scroll_debounce_ms": 50,
|
||||||
},
|
},
|
||||||
"selection_highlight": true,
|
"selection_highlight": true,
|
||||||
"show_wrap_guides": true,
|
"show_wrap_guides": true,
|
||||||
@@ -84,8 +104,8 @@
|
|||||||
"diagnostics": "all",
|
"diagnostics": "all",
|
||||||
"axes": {
|
"axes": {
|
||||||
"horizontal": false,
|
"horizontal": false,
|
||||||
"vertical": true
|
"vertical": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"vim_mode": true,
|
"vim_mode": true,
|
||||||
"soft_wrap": "editor_width",
|
"soft_wrap": "editor_width",
|
||||||
@@ -100,18 +120,16 @@
|
|||||||
"default_height": 320,
|
"default_height": 320,
|
||||||
"default_model": {
|
"default_model": {
|
||||||
"provider": "openai",
|
"provider": "openai",
|
||||||
"model": "gpt-4-turbo"
|
"model": "gpt-4-turbo",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"centered_layout": {
|
"centered_layout": {
|
||||||
"left_padding": 0.2,
|
"left_padding": 0.2,
|
||||||
"right_padding": 0.2
|
"right_padding": 0.2,
|
||||||
},
|
},
|
||||||
"collaboration_panel": {
|
"collaboration_panel": {
|
||||||
"button": false
|
"dock": "left",
|
||||||
},
|
"button": false,
|
||||||
"chat_panel": {
|
|
||||||
"button": "never"
|
|
||||||
},
|
},
|
||||||
"diagnostics": {
|
"diagnostics": {
|
||||||
"button": true,
|
"button": true,
|
||||||
@@ -121,62 +139,67 @@
|
|||||||
"update_debounce_ms": 150,
|
"update_debounce_ms": 150,
|
||||||
"padding": 4,
|
"padding": 4,
|
||||||
"min_column": 0,
|
"min_column": 0,
|
||||||
"max_severity": null
|
"max_severity": null,
|
||||||
},
|
},
|
||||||
"cargo": null
|
|
||||||
},
|
},
|
||||||
"title_bar": {
|
"title_bar": {
|
||||||
|
"show_user_menu": true,
|
||||||
|
"show_onboarding_banner": false,
|
||||||
|
"show_worktree_name": false,
|
||||||
|
"show_menus": false,
|
||||||
|
"open_menus_on_hover": true,
|
||||||
|
"button_layout": "close:minimize,maximize",
|
||||||
|
"show_branch_status_icon": false,
|
||||||
"show_sign_in": false,
|
"show_sign_in": false,
|
||||||
"show_branch_icon": true,
|
"show_project_items": false,
|
||||||
"show_project_items": true,
|
|
||||||
"show_user_picture": true,
|
"show_user_picture": true,
|
||||||
"show_branch_name": true
|
"show_branch_name": false,
|
||||||
},
|
},
|
||||||
"minimap": {
|
"minimap": {
|
||||||
"show": "never",
|
"show": "never",
|
||||||
"thumb": "always",
|
"thumb": "always",
|
||||||
"thumb_border": "left_open",
|
"thumb_border": "left_open",
|
||||||
"current_line_highlight": "all"
|
"current_line_highlight": "all",
|
||||||
},
|
},
|
||||||
"outline_panel": {
|
"outline_panel": {
|
||||||
|
"folder_indicator": "icon",
|
||||||
"button": true,
|
"button": true,
|
||||||
"default_width": 240,
|
"default_width": 240,
|
||||||
"dock": "left",
|
"dock": "left",
|
||||||
"file_icons": true,
|
"file_icons": true,
|
||||||
"folder_icons": true,
|
|
||||||
"git_status": true,
|
"git_status": true,
|
||||||
"indent_size": 20,
|
"indent_size": 20,
|
||||||
"auto_reveal_entries": true,
|
"auto_reveal_entries": true,
|
||||||
"auto_fold_dirs": true,
|
"auto_fold_dirs": true,
|
||||||
"indent_guides": {
|
"indent_guides": {
|
||||||
"show": "never"
|
"show": "never",
|
||||||
},
|
},
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": null
|
"show": null,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"preview_tabs": {
|
"preview_tabs": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"enable_preview_from_file_finder": false,
|
"enable_preview_from_file_finder": false,
|
||||||
"enable_preview_from_code_navigation": false
|
"enable_keep_preview_on_code_navigation": false,
|
||||||
},
|
},
|
||||||
"project_panel": {
|
"project_panel": {
|
||||||
|
"folder_indicator": "icon",
|
||||||
"button": true,
|
"button": true,
|
||||||
"default_width": 240,
|
"default_width": 240,
|
||||||
"dock": "left",
|
"dock": "left",
|
||||||
"entry_spacing": "comfortable",
|
"entry_spacing": "comfortable",
|
||||||
"file_icons": true,
|
"file_icons": true,
|
||||||
"folder_icons": true,
|
|
||||||
"git_status": true,
|
"git_status": true,
|
||||||
"indent_size": 20,
|
"indent_size": 20,
|
||||||
"auto_reveal_entries": true,
|
"auto_reveal_entries": true,
|
||||||
"auto_fold_dirs": true,
|
"auto_fold_dirs": true,
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": null
|
"show": null,
|
||||||
},
|
},
|
||||||
"indent_guides": {
|
"indent_guides": {
|
||||||
"show": "never"
|
"show": "never",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// "proxy": "http://127.0.0.1:10809",
|
// "proxy": "http://127.0.0.1:10809",
|
||||||
"search": {
|
"search": {
|
||||||
@@ -184,29 +207,32 @@
|
|||||||
"case_sensitive": false,
|
"case_sensitive": false,
|
||||||
"include_ignored": false,
|
"include_ignored": false,
|
||||||
"button": true,
|
"button": true,
|
||||||
"regex": true
|
"regex": true,
|
||||||
},
|
},
|
||||||
"tab_bar": {
|
"tab_bar": {
|
||||||
"show": true,
|
"show": true,
|
||||||
"show_nav_history_buttons": false,
|
"show_nav_history_buttons": false,
|
||||||
"show_tab_bar_buttons": true
|
"show_tab_bar_buttons": true,
|
||||||
},
|
},
|
||||||
"tabs": {
|
"tabs": {
|
||||||
"close_position": "right",
|
"close_position": "right",
|
||||||
"file_icons": true,
|
"file_icons": true,
|
||||||
"git_status": true,
|
"git_status": true,
|
||||||
"activate_on_close": "left_neighbour",
|
"activate_on_close": "left_neighbour",
|
||||||
"show_close_button": "hover"
|
"show_close_button": "hover",
|
||||||
},
|
},
|
||||||
"toolbar": {
|
"toolbar": {
|
||||||
"breadcrumbs": true,
|
"breadcrumbs": true,
|
||||||
"quick_actions": true
|
"quick_actions": true,
|
||||||
},
|
},
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"diagnostics": false,
|
"diagnostics": false,
|
||||||
"metrics": false
|
"metrics": false,
|
||||||
},
|
},
|
||||||
"terminal": {
|
"terminal": {
|
||||||
|
"toolbar": {
|
||||||
|
"breadcrumbs": false,
|
||||||
|
},
|
||||||
"alternate_scroll": "off",
|
"alternate_scroll": "off",
|
||||||
"blinking": "terminal_controlled",
|
"blinking": "terminal_controlled",
|
||||||
"copy_on_select": false,
|
"copy_on_select": false,
|
||||||
@@ -214,13 +240,13 @@
|
|||||||
"detect_venv": {
|
"detect_venv": {
|
||||||
"on": {
|
"on": {
|
||||||
"directories": [".env", "env", ".venv", "venv"],
|
"directories": [".env", "env", ".venv", "venv"],
|
||||||
"activate_script": "default"
|
"activate_script": "default",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"ZED": "1",
|
"ZED": "1",
|
||||||
"EXAMPLE": "test:dqnid",
|
"EXAMPLE": "test:dqnid",
|
||||||
"BLUEPRINTS_PATHS": "./.blueprints"
|
"BLUEPRINTS_PATHS": "./.blueprints",
|
||||||
},
|
},
|
||||||
// "font_family": null,
|
// "font_family": null,
|
||||||
"font_features": null,
|
"font_features": null,
|
||||||
@@ -229,13 +255,10 @@
|
|||||||
"option_as_meta": true,
|
"option_as_meta": true,
|
||||||
"button": true,
|
"button": true,
|
||||||
"shell": "system",
|
"shell": "system",
|
||||||
"toolbar": {
|
|
||||||
"title": true
|
|
||||||
},
|
|
||||||
"scrollbar": {
|
"scrollbar": {
|
||||||
"show": "never"
|
"show": "never",
|
||||||
},
|
},
|
||||||
"working_directory": "current_project_directory"
|
"working_directory": "current_project_directory",
|
||||||
},
|
},
|
||||||
// ╭─────╮
|
// ╭─────╮
|
||||||
// │ LSP │
|
// │ LSP │
|
||||||
@@ -247,13 +270,13 @@
|
|||||||
"use_autoclose": true,
|
"use_autoclose": true,
|
||||||
"languages": {
|
"languages": {
|
||||||
"Astro": {
|
"Astro": {
|
||||||
"tab_size": 4
|
"tab_size": 4,
|
||||||
},
|
},
|
||||||
"HTML": {
|
"HTML": {
|
||||||
"tab_size": 2
|
"tab_size": 2,
|
||||||
},
|
},
|
||||||
"JSON": {
|
"JSON": {
|
||||||
"tab_size": 4
|
"tab_size": 4,
|
||||||
},
|
},
|
||||||
"JavaScript": {
|
"JavaScript": {
|
||||||
"formatter": "prettier",
|
"formatter": "prettier",
|
||||||
@@ -261,8 +284,8 @@
|
|||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
"preferred_line_length": 65,
|
"preferred_line_length": 65,
|
||||||
"code_actions_on_format": {
|
"code_actions_on_format": {
|
||||||
"source.organizeImports": true
|
"source.organizeImports": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"TypeScript": {
|
"TypeScript": {
|
||||||
"formatter": "prettier",
|
"formatter": "prettier",
|
||||||
@@ -270,8 +293,8 @@
|
|||||||
"preferred_line_length": 65,
|
"preferred_line_length": 65,
|
||||||
"language_servers": ["typescript-language-server", "!vtsls"],
|
"language_servers": ["typescript-language-server", "!vtsls"],
|
||||||
"code_actions_on_format": {
|
"code_actions_on_format": {
|
||||||
"source.organizeImports": true
|
"source.organizeImports": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"TSX": {
|
"TSX": {
|
||||||
"formatter": "prettier",
|
"formatter": "prettier",
|
||||||
@@ -285,17 +308,17 @@
|
|||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
"code_actions_on_format": {
|
"code_actions_on_format": {
|
||||||
"source.organizeImports": true
|
"source.organizeImports": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"Python": {
|
"Python": {
|
||||||
"language_servers": ["pylsp", "!basedpyright"]
|
"language_servers": ["pylsp", "!basedpyright"],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"file_types": {
|
"file_types": {
|
||||||
"C++": ["c"],
|
"C++": ["c"],
|
||||||
"TOML": ["MyLockFile"],
|
"TOML": ["MyLockFile"],
|
||||||
"Dockerfile": ["Dockerfile*"]
|
"Dockerfile": ["Dockerfile*"],
|
||||||
},
|
},
|
||||||
"file_scan_exclusions": [
|
"file_scan_exclusions": [
|
||||||
"**/.git",
|
"**/.git",
|
||||||
@@ -306,7 +329,7 @@
|
|||||||
"**/.DS_Store",
|
"**/.DS_Store",
|
||||||
"**/Thumbs.db",
|
"**/Thumbs.db",
|
||||||
"**/.classpath",
|
"**/.classpath",
|
||||||
"**/.settings"
|
"**/.settings",
|
||||||
],
|
],
|
||||||
"file_scan_inclusions": [".env*"]
|
"file_scan_inclusions": [".env*"],
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user