feat: visual editor configs
This commit is contained in:
1 parent
f25c883b7a
commit
78bf0390b9
4 files changed
+485
-284
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"show_wrap_guides": true
|
||||||
|
}
|
||||||
@@ -0,0 +1,121 @@
|
|||||||
|
// ╭────────────────────────────────╮
|
||||||
|
// │- Gram editor keys -│
|
||||||
|
// │- author: Daniel Heras Quesada -│
|
||||||
|
// ╰────────────────────────────────╯
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"context": "Workspace || Editor || OutlinePanel || ProjectPanel || GitPanel || Terminal",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-h": "workspace::ActivatePaneLeft",
|
||||||
|
"ctrl-l": "workspace::ActivatePaneRight",
|
||||||
|
"ctrl-k": "workspace::ActivatePaneUp",
|
||||||
|
"ctrl-j": "workspace::ActivatePaneDown",
|
||||||
|
"ctrl-shift-f": "project_search::SearchInNew",
|
||||||
|
"ctrl-shift-x": "task::Rerun",
|
||||||
|
|
||||||
|
"ctrl-e": "project_panel::ToggleFocus",
|
||||||
|
"ctrl-a": "outline_panel::ToggleFocus",
|
||||||
|
"ctrl-g": "git_panel::ToggleFocus",
|
||||||
|
|
||||||
|
"ctrl-p": "projects::OpenRecent",
|
||||||
|
"ctrl-x": "task::Spawn",
|
||||||
|
"ctrl-z": "workspace::ToggleBottomDock",
|
||||||
|
"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-j": "pane::SplitDown",
|
||||||
|
"ctrl-shift-h": "pane::SplitLeft",
|
||||||
|
"ctrl-shift-k": "pane::SplitUp",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && vim_mode == insert",
|
||||||
|
"bindings": {
|
||||||
|
// "j k": [
|
||||||
|
// "workspace::SendKeystrokes",
|
||||||
|
// "escape"
|
||||||
|
// ]
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "OutlinePanel",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-a": "outline_panel::Toggle",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "ProjectPanel",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-e": "project_panel::Toggle",
|
||||||
|
"f12": "project_panel::Rename",
|
||||||
|
"shift-enter": "workspace::OpenWithSystem",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "GitPanel",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-g": "git_panel::Toggle",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "ProjectPanel && not_editing",
|
||||||
|
"bindings": {
|
||||||
|
"d": "project_panel::Delete",
|
||||||
|
"c": "project_panel::Copy",
|
||||||
|
"r": "project_panel::Rename",
|
||||||
|
"x": "project_panel::Cut",
|
||||||
|
"Y": "workspace::CopyPath",
|
||||||
|
"y": "project_panel::Copy",
|
||||||
|
"p": "project_panel::Paste",
|
||||||
|
"a": "project_panel::NewFile",
|
||||||
|
"A": "project_panel::NewDirectory",
|
||||||
|
"/": "project_panel::NewSearchInDirectory",
|
||||||
|
"g h": "git::FileHistory",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && (showing_code_actions || showing_completions)",
|
||||||
|
"bindings": {
|
||||||
|
"up": "editor::ContextMenuPrevious",
|
||||||
|
"down": "editor::ContextMenuNext",
|
||||||
|
"pageup": "editor::ContextMenuFirst",
|
||||||
|
"pagedown": "editor::ContextMenuLast",
|
||||||
|
"tab": "editor::ContextMenuNext",
|
||||||
|
"shift-tab": "editor::ContextMenuPrevious",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Editor && vim_mode == normal",
|
||||||
|
"bindings": {
|
||||||
|
"shift-tab": "pane::ActivatePreviousItem",
|
||||||
|
"tab": "pane::ActivateNextItem",
|
||||||
|
|
||||||
|
"space a": "outline::Toggle",
|
||||||
|
"space r": "editor::Rename",
|
||||||
|
"space x": "pane::CloseActiveItem",
|
||||||
|
"space X": "pane::CloseAllItems",
|
||||||
|
"space g g": "git_panel::Toggle",
|
||||||
|
"space g h": "editor::ToggleSelectedDiffHunks",
|
||||||
|
"space g b": "git::Blame",
|
||||||
|
"space f a": "pane::DeploySearch",
|
||||||
|
"space f w": "project_symbols::Toggle",
|
||||||
|
"space f f": "file_finder::Toggle",
|
||||||
|
"space space": "editor::FindAllReferences",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "Terminal",
|
||||||
|
"bindings": {
|
||||||
|
"ctrl-t": "workspace::NewTerminal",
|
||||||
|
"ctrl-w": "pane::CloseActiveItem",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]
|
||||||
+360
-284
@@ -3,288 +3,364 @@
|
|||||||
// │- author: Daniel Heras Quesada -│
|
// │- author: Daniel Heras Quesada -│
|
||||||
// ╰────────────────────────────────╯
|
// ╰────────────────────────────────╯
|
||||||
{
|
{
|
||||||
// ╭─────────╮
|
// ╭─────────╮
|
||||||
// │ General │
|
// │ General │
|
||||||
// ╰─────────╯
|
// ╰─────────╯
|
||||||
"tasks": {
|
"dap": {
|
||||||
"prefer_lsp": true,
|
"JavaScript": {
|
||||||
},
|
"enable_auto_updates": true,
|
||||||
"icon_theme": "Gram (Default)",
|
"ignore_system_version": false,
|
||||||
"proxy": "",
|
"allow_binary_download": true
|
||||||
"use_system_window_tabs": false,
|
}
|
||||||
"window_decorations": "client",
|
},
|
||||||
"status_bar": {
|
"lsp": {
|
||||||
"active_encoding_button": "enabled",
|
"tailwindcss-language-server": {
|
||||||
"line_endings_button": true,
|
"binary": {
|
||||||
},
|
"enable_auto_updates": true,
|
||||||
"git_panel": {
|
"allow_binary_download": true,
|
||||||
"dock": "left",
|
"ignore_system_version": false
|
||||||
},
|
},
|
||||||
"base_keymap": "VSCode",
|
"enable_lsp_tasks": true
|
||||||
"restore_on_startup": "last_session",
|
},
|
||||||
// ╭─────────╮
|
"astro-language-server": {
|
||||||
// │ Styling │
|
"binary": {
|
||||||
// ╰─────────╯
|
"enable_auto_updates": true,
|
||||||
"theme": "Gruvbox Light Soft",
|
"ignore_system_version": false,
|
||||||
"unnecessary_code_fade": 0.2,
|
"allow_binary_download": true
|
||||||
// ╭──────╮
|
},
|
||||||
// │ Font │
|
"enable_lsp_tasks": true
|
||||||
// ╰──────╯
|
},
|
||||||
"ui_font_size": 10.0,
|
"typescript-language-server": {
|
||||||
"ui_font_family": "JetBrainsMonoNL Nerd Font Mono",
|
"binary": {
|
||||||
"buffer_font_size": 10.0,
|
"enable_auto_updates": false,
|
||||||
"buffer_font_family": "JetBrainsMono Nerd Font",
|
"ignore_system_version": false,
|
||||||
"buffer_font_weight": 400,
|
"allow_binary_download": false
|
||||||
"buffer_line_height": "comfortable",
|
},
|
||||||
// ╭────────╮
|
"enable_lsp_tasks": true
|
||||||
// │ Editor │
|
},
|
||||||
// ╰────────╯
|
"json-language-server": {
|
||||||
"always_treat_brackets_as_autoclosed": false,
|
"binary": {
|
||||||
"autosave": "off",
|
"enable_auto_updates": true,
|
||||||
"autoscroll_on_clicks": true,
|
"ignore_system_version": true,
|
||||||
"confirm_quit": false,
|
"allow_binary_download": true
|
||||||
"current_line_highlight": "all",
|
},
|
||||||
"cursor_blink": true,
|
"enable_lsp_tasks": true
|
||||||
"cursor_shape": "bar",
|
}
|
||||||
"tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
},
|
||||||
"git": {
|
"node": {
|
||||||
"git_gutter": "tracked_files",
|
"allow_npm_install": true,
|
||||||
"inline_blame": {
|
"allow_prettier_download": true,
|
||||||
"enabled": true,
|
"allow_binary_download": true
|
||||||
"show_commit_summary": true,
|
},
|
||||||
},
|
"active_pane_modifiers": {
|
||||||
},
|
"border_size": 0.0,
|
||||||
"hard_tabs": true,
|
},
|
||||||
"hover_popover_enabled": false,
|
"text_rendering_mode": "platform_default",
|
||||||
"hover_popover_delay": 0,
|
"prettier": {
|
||||||
"indent_guides": {
|
"allowed": true,
|
||||||
"enabled": true,
|
},
|
||||||
"line_width": 1,
|
"tasks": {
|
||||||
"active_line_width": 2,
|
"prefer_lsp": true,
|
||||||
"coloring": "fixed",
|
},
|
||||||
"background_coloring": "disabled",
|
"icon_theme": "Gram (Default)",
|
||||||
},
|
"proxy": "",
|
||||||
"inlay_hints": {
|
"use_system_window_tabs": true,
|
||||||
"enabled": false,
|
"window_decorations": "server",
|
||||||
"show_type_hints": true,
|
"status_bar": {
|
||||||
"show_parameter_hints": true,
|
"active_encoding_button": "enabled",
|
||||||
"show_other_hints": true,
|
"line_endings_button": true,
|
||||||
"show_background": false,
|
},
|
||||||
"edit_debounce_ms": 700,
|
"git_panel": {
|
||||||
"scroll_debounce_ms": 50,
|
"dock": "left",
|
||||||
},
|
},
|
||||||
"selection_highlight": true,
|
"base_keymap": "VSCode",
|
||||||
"show_wrap_guides": true,
|
"restore_on_startup": "last_session",
|
||||||
"show_completions_on_input": true,
|
// ╭─────────╮
|
||||||
"show_whitespaces": "selection",
|
// │ Styling │
|
||||||
"wrap_guides": [80],
|
// ╰─────────╯
|
||||||
"relative_line_numbers": "enabled",
|
"theme": "Ayu Mirage",
|
||||||
"scrollbar": {
|
"unnecessary_code_fade": 0.2,
|
||||||
"show": "auto",
|
// ╭──────╮
|
||||||
"cursors": true,
|
// │ Font │
|
||||||
"git_diff": true,
|
// ╰──────╯
|
||||||
"search_results": true,
|
"ui_font_size": 9.0,
|
||||||
"selected_text": true,
|
"ui_font_family": "JetBrainsMono Nerd Font",
|
||||||
"selected_symbol": true,
|
"buffer_font_size": 9.0,
|
||||||
"diagnostics": "all",
|
"buffer_font_family": "JetBrainsMono Nerd Font",
|
||||||
"axes": {
|
"buffer_font_weight": 400,
|
||||||
"horizontal": false,
|
"buffer_line_height": "comfortable",
|
||||||
"vertical": true,
|
// ╭────────╮
|
||||||
},
|
// │ Editor │
|
||||||
},
|
// ╰────────╯
|
||||||
"vim_mode": true,
|
"always_treat_brackets_as_autoclosed": false,
|
||||||
"soft_wrap": "editor_width",
|
"autosave": "off",
|
||||||
// ╭────────╮
|
"autoscroll_on_clicks": true,
|
||||||
// │ Layout │
|
"confirm_quit": false,
|
||||||
// ╰────────╯
|
"current_line_highlight": "all",
|
||||||
"centered_layout": {
|
"cursor_blink": true,
|
||||||
"left_padding": 0.35,
|
"cursor_shape": "bar",
|
||||||
"right_padding": 0.35,
|
"tab_size": 4, // May cause errors on colaborative projects wrongly configured
|
||||||
},
|
"git": {
|
||||||
"diagnostics": {
|
"git_gutter": "tracked_files",
|
||||||
"button": true,
|
"inline_blame": {
|
||||||
"include_warnings": true,
|
"enabled": true,
|
||||||
"inline": {
|
"show_commit_summary": true,
|
||||||
"enabled": true,
|
},
|
||||||
"update_debounce_ms": 150,
|
},
|
||||||
"padding": 4,
|
"hard_tabs": true,
|
||||||
"min_column": 0,
|
"hover_popover_enabled": false,
|
||||||
"max_severity": null,
|
"hover_popover_delay": 0,
|
||||||
},
|
"indent_guides": {
|
||||||
},
|
"enabled": true,
|
||||||
"title_bar": {
|
"line_width": 1,
|
||||||
"show_user_picture": false,
|
"active_line_width": 2,
|
||||||
"show_onboarding_banner": false,
|
"coloring": "fixed",
|
||||||
"show_menus": false,
|
"background_coloring": "disabled",
|
||||||
"show_project_items": true,
|
},
|
||||||
"show_branch_name": true,
|
"inlay_hints": {
|
||||||
},
|
"enabled": false,
|
||||||
"minimap": {
|
"show_type_hints": true,
|
||||||
"show": "never",
|
"show_parameter_hints": true,
|
||||||
"thumb": "always",
|
"show_other_hints": true,
|
||||||
"thumb_border": "left_open",
|
"show_background": false,
|
||||||
"current_line_highlight": "all",
|
"edit_debounce_ms": 700,
|
||||||
},
|
"scroll_debounce_ms": 50,
|
||||||
"outline_panel": {
|
},
|
||||||
"button": true,
|
"selection_highlight": true,
|
||||||
"default_width": 240,
|
"show_wrap_guides": true,
|
||||||
"dock": "left",
|
"show_completions_on_input": true,
|
||||||
"file_icons": true,
|
"show_whitespaces": "selection",
|
||||||
"folder_icons": true,
|
"wrap_guides": [80],
|
||||||
"git_status": true,
|
"relative_line_numbers": "enabled",
|
||||||
"indent_size": 20,
|
"scrollbar": {
|
||||||
"auto_reveal_entries": true,
|
"show": "auto",
|
||||||
"auto_fold_dirs": true,
|
"cursors": true,
|
||||||
"indent_guides": {
|
"git_diff": true,
|
||||||
"show": "never",
|
"search_results": true,
|
||||||
},
|
"selected_text": true,
|
||||||
"scrollbar": {
|
"selected_symbol": true,
|
||||||
"show": null,
|
"diagnostics": "all",
|
||||||
},
|
"axes": {
|
||||||
},
|
"horizontal": false,
|
||||||
"preview_tabs": {
|
"vertical": true,
|
||||||
"enabled": false,
|
},
|
||||||
"enable_preview_from_file_finder": false,
|
},
|
||||||
"enable_keep_preview_on_code_navigation": false,
|
"vim_mode": true,
|
||||||
},
|
"soft_wrap": "editor_width",
|
||||||
"project_panel": {
|
// ╭────────╮
|
||||||
"button": true,
|
// │ Layout │
|
||||||
"default_width": 240,
|
// ╰────────╯
|
||||||
"dock": "left",
|
"centered_layout": {
|
||||||
"entry_spacing": "comfortable",
|
"left_padding": 0.35,
|
||||||
"file_icons": true,
|
"right_padding": 0.35,
|
||||||
"folder_icons": true,
|
},
|
||||||
"git_status": true,
|
"diagnostics": {
|
||||||
"indent_size": 20,
|
"button": true,
|
||||||
"auto_reveal_entries": true,
|
"include_warnings": true,
|
||||||
"auto_fold_dirs": true,
|
"inline": {
|
||||||
"scrollbar": {
|
"enabled": true,
|
||||||
"show": null,
|
"update_debounce_ms": 150,
|
||||||
},
|
"padding": 4,
|
||||||
"indent_guides": {
|
"min_column": 0,
|
||||||
"show": "never",
|
"max_severity": null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// "proxy": "http://127.0.0.1:10809",
|
"title_bar": {
|
||||||
"search": {
|
"show_branch_icon": true,
|
||||||
"whole_word": false,
|
"show": false,
|
||||||
"case_sensitive": false,
|
"show_user_picture": false,
|
||||||
"include_ignored": false,
|
"show_onboarding_banner": false,
|
||||||
"button": true,
|
"show_menus": true,
|
||||||
"regex": true,
|
"show_project_items": true,
|
||||||
},
|
"show_branch_name": true,
|
||||||
"tab_bar": {
|
},
|
||||||
"show": true,
|
"minimap": {
|
||||||
"show_nav_history_buttons": false,
|
"show": "never",
|
||||||
"show_tab_bar_buttons": true,
|
"thumb": "always",
|
||||||
},
|
"thumb_border": "left_open",
|
||||||
"tabs": {
|
"current_line_highlight": "all",
|
||||||
"show_diagnostics": "all",
|
},
|
||||||
"close_position": "right",
|
"outline_panel": {
|
||||||
"file_icons": true,
|
"button": true,
|
||||||
"git_status": true,
|
"default_width": 240,
|
||||||
"activate_on_close": "neighbour",
|
"dock": "left",
|
||||||
"show_close_button": "hover",
|
"file_icons": true,
|
||||||
},
|
"folder_icons": true,
|
||||||
"toolbar": {
|
"git_status": true,
|
||||||
"breadcrumbs": true,
|
"indent_size": 20,
|
||||||
"quick_actions": true,
|
"auto_reveal_entries": true,
|
||||||
},
|
"auto_fold_dirs": true,
|
||||||
"terminal": {
|
"indent_guides": {
|
||||||
"alternate_scroll": "off",
|
"show": "never",
|
||||||
"blinking": "terminal_controlled",
|
},
|
||||||
"copy_on_select": false,
|
"scrollbar": {
|
||||||
"dock": "bottom",
|
"show": null,
|
||||||
"detect_venv": {
|
},
|
||||||
"on": {
|
},
|
||||||
"directories": [".env", "env", ".venv", "venv"],
|
"preview_tabs": {
|
||||||
"activate_script": "default",
|
"enable_preview_multibuffer_from_code_navigation": false,
|
||||||
},
|
"enabled": true,
|
||||||
},
|
"enable_preview_from_file_finder": false,
|
||||||
"env": {
|
"enable_keep_preview_on_code_navigation": false,
|
||||||
"ZED": "1",
|
},
|
||||||
"EXAMPLE": "test:dqnid",
|
"project_panel": {
|
||||||
"BLUEPRINTS_PATHS": "./.blueprints",
|
"button": true,
|
||||||
},
|
"default_width": 240,
|
||||||
// "font_family": null,
|
"dock": "left",
|
||||||
"font_features": null,
|
"entry_spacing": "comfortable",
|
||||||
"font_size": 14,
|
"file_icons": true,
|
||||||
"line_height": "comfortable",
|
"folder_icons": true,
|
||||||
"option_as_meta": true,
|
"git_status": true,
|
||||||
"button": true,
|
"indent_size": 20,
|
||||||
"shell": "system",
|
"auto_reveal_entries": true,
|
||||||
"scrollbar": {
|
"auto_fold_dirs": true,
|
||||||
"show": "never",
|
"scrollbar": {
|
||||||
},
|
"show": null,
|
||||||
"working_directory": "current_project_directory",
|
},
|
||||||
},
|
"indent_guides": {
|
||||||
// ╭─────╮
|
"show": "never",
|
||||||
// │ LSP │
|
},
|
||||||
// ╰─────╯
|
},
|
||||||
"format_on_save": "on",
|
// "proxy": "http://127.0.0.1:10809",
|
||||||
"formatter": "auto",
|
"search": {
|
||||||
"ensure_final_newline_on_save": true,
|
"whole_word": false,
|
||||||
"enable_language_server": true,
|
"case_sensitive": false,
|
||||||
"use_autoclose": true,
|
"include_ignored": false,
|
||||||
"languages": {
|
"button": true,
|
||||||
"Astro": {
|
"regex": true,
|
||||||
"tab_size": 4,
|
},
|
||||||
},
|
"tab_bar": {
|
||||||
"HTML": {
|
"show": true,
|
||||||
"tab_size": 2,
|
"show_nav_history_buttons": false,
|
||||||
},
|
"show_tab_bar_buttons": "on_pane_focus",
|
||||||
"JSON": {
|
},
|
||||||
"tab_size": 4,
|
"tabs": {
|
||||||
},
|
"show_diagnostics": "all",
|
||||||
"JavaScript": {
|
"close_position": "right",
|
||||||
// "formatter": "prettier",
|
"file_icons": true,
|
||||||
"format_on_save": "on",
|
"git_status": true,
|
||||||
"tab_size": 2,
|
"activate_on_close": "neighbour",
|
||||||
"preferred_line_length": 65,
|
"show_close_button": "hover",
|
||||||
"code_actions_on_format": {
|
},
|
||||||
"source.organizeImports": true,
|
"toolbar": {
|
||||||
},
|
"breadcrumbs": true,
|
||||||
},
|
"quick_actions": true,
|
||||||
"TypeScript": {
|
},
|
||||||
// "formatter": "prettier",
|
"terminal": {
|
||||||
"format_on_save": "on",
|
"alternate_scroll": "off",
|
||||||
"preferred_line_length": 65,
|
"blinking": "terminal_controlled",
|
||||||
"language_servers": ["typescript-language-server", "!vtsls"],
|
"copy_on_select": false,
|
||||||
"code_actions_on_format": {
|
"dock": "bottom",
|
||||||
"source.organizeImports": true,
|
"detect_venv": {
|
||||||
},
|
"on": {
|
||||||
},
|
"directories": [".env", "env", ".venv", "venv"],
|
||||||
"TSX": {
|
"activate_script": "default",
|
||||||
// "formatter": "prettier",
|
},
|
||||||
"format_on_save": "on",
|
},
|
||||||
"preferred_line_length": 85,
|
"env": {
|
||||||
"language_servers": ["typescript-language-server", "!vtsls"],
|
"ZED": "1",
|
||||||
// "formatter": {
|
"EXAMPLE": "test:dqnid",
|
||||||
// "external": {
|
"BLUEPRINTS_PATHS": "./.blueprints",
|
||||||
// "command": "prettier",
|
},
|
||||||
// "arguments": ["--stdin-filepath", "{buffer_path}"]
|
// "font_family": null,
|
||||||
// }
|
"font_features": null,
|
||||||
// },
|
"font_size": 9.0,
|
||||||
"code_actions_on_format": {
|
"line_height": "comfortable",
|
||||||
"source.organizeImports": true,
|
"option_as_meta": true,
|
||||||
},
|
"button": true,
|
||||||
},
|
"shell": "system",
|
||||||
},
|
"scrollbar": {
|
||||||
"file_types": {
|
"show": "never",
|
||||||
"C++": ["c"],
|
},
|
||||||
"TOML": ["MyLockFile"],
|
"working_directory": "current_project_directory",
|
||||||
"Dockerfile": ["Dockerfile*"],
|
},
|
||||||
},
|
// ╭─────╮
|
||||||
"file_scan_exclusions": [
|
// │ LSP │
|
||||||
"**/.git",
|
// ╰─────╯
|
||||||
"**/.svn",
|
"format_on_save": "on",
|
||||||
"**/.hg",
|
"formatter": "auto",
|
||||||
"**/.jj",
|
"ensure_final_newline_on_save": true,
|
||||||
"**/CVS",
|
"enable_language_server": true,
|
||||||
"**/.DS_Store",
|
"use_autoclose": true,
|
||||||
"**/Thumbs.db",
|
"languages": {
|
||||||
"**/.classpath",
|
"JSONC": {
|
||||||
"**/.settings",
|
// "formatter": "prettier",
|
||||||
],
|
"format_on_save": "on",
|
||||||
"file_scan_inclusions": [".env*"],
|
"preferred_line_length": 85,
|
||||||
|
"formatter": {
|
||||||
|
"external": {
|
||||||
|
"command": "prettier",
|
||||||
|
"arguments": ["--stdin-filepath", "{buffer_path}"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"Astro": {
|
||||||
|
"formatter": {
|
||||||
|
"external": {
|
||||||
|
"command": "prettier",
|
||||||
|
"arguments": ["--stdin-filepath", "{buffer_path}"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"tab_size": 4,
|
||||||
|
},
|
||||||
|
"HTML": {
|
||||||
|
"tab_size": 2,
|
||||||
|
},
|
||||||
|
"JSON": {
|
||||||
|
"tab_size": 4,
|
||||||
|
},
|
||||||
|
"JavaScript": {
|
||||||
|
// "formatter": "prettier",
|
||||||
|
"format_on_save": "on",
|
||||||
|
"tab_size": 2,
|
||||||
|
"preferred_line_length": 65,
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"TypeScript": {
|
||||||
|
// "formatter": "prettier",
|
||||||
|
"format_on_save": "on",
|
||||||
|
"preferred_line_length": 65,
|
||||||
|
"language_servers": ["typescript-language-server", "!vtsls"],
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"TSX": {
|
||||||
|
// "formatter": "prettier",
|
||||||
|
"format_on_save": "on",
|
||||||
|
"preferred_line_length": 85,
|
||||||
|
"language_servers": ["typescript-language-server", "!vtsls"],
|
||||||
|
// "formatter": {
|
||||||
|
// "external": {
|
||||||
|
// "command": "prettier",
|
||||||
|
// "arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
"code_actions_on_format": {
|
||||||
|
"source.organizeImports": true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"file_types": {
|
||||||
|
"C++": ["c"],
|
||||||
|
"TOML": ["MyLockFile"],
|
||||||
|
"Dockerfile": ["Dockerfile*"],
|
||||||
|
},
|
||||||
|
"file_scan_exclusions": [
|
||||||
|
"**/.git",
|
||||||
|
"**/.svn",
|
||||||
|
"**/.hg",
|
||||||
|
"**/.jj",
|
||||||
|
"**/CVS",
|
||||||
|
"**/.DS_Store",
|
||||||
|
"**/Thumbs.db",
|
||||||
|
"**/.classpath",
|
||||||
|
"**/.settings",
|
||||||
|
],
|
||||||
|
"file_scan_inclusions": [".env*"],
|
||||||
}
|
}
|
||||||
Submodule
+1
Submodule zed added at 5efe72e2d7.
Reference in new issue
Block a user