Skip to content

Instantly share code, notes, and snippets.

@allipiopereira
Last active April 26, 2025 13:41
Show Gist options
  • Save allipiopereira/eecf43dbb561e992c3fd9e23a1ca9b9c to your computer and use it in GitHub Desktop.
Save allipiopereira/eecf43dbb561e992c3fd9e23a1ca9b9c to your computer and use it in GitHub Desktop.
Zed Config
{
"jsx_tag_auto_close": { "enabled": true },
"edit_predictions": {
"mode": "eager",
"copilot": {
"proxy": null,
"proxy_no_verify": null
},
"enabled_in_assistant": true,
"disabled_globs": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.cert",
"**/*.crt",
"**/secrets.yml",
"**/credentials.json",
"**/keystore.jks"
]
},
"auto_update_extensions": {
"html": true
},
"show_edit_predictions": true,
"features": {
"edit_prediction_provider": "zed"
},
"assistant": {
"always_allow_tool_actions": false,
"enabled": true,
"default_model": {
"provider": "zed.dev",
"model": "claude-3-7-sonnet-latest"
},
"version": "2",
"button": true,
"default_width": 450,
"dock": "left",
"enable_experimental_live_diffs": true
},
"context_servers": {
"postgres-context-server": {
"settings": {
"database_url": "postgresql://postgres:[email protected]:54322/postgres"
}
}
},
"telemetry": {
"metrics": true
},
"auto_install_extensions": {
"html": true
},
"languages": {
"Markdown": {
"tab_size": 2,
"formatter": "prettier"
},
"TOML": {
"formatter": "prettier",
"format_on_save": "off"
},
"YAML": {
"tab_size": 2,
"formatter": "prettier"
},
"JSON": {
"tab_size": 2,
"preferred_line_length": 120,
"formatter": "prettier"
},
"JSONC": {
"tab_size": 2,
"preferred_line_length": 120,
"formatter": "prettier"
},
"JavaScript": {
"tab_size": 2,
"formatter": "prettier"
},
"CSS": {
"tab_size": 2,
"formatter": "prettier"
},
"Rust": {
"tasks": {
"variables": {
"RUST_DEFAULT_PACKAGE_RUN": "zed"
}
}
}
},
"lsp": {
"eslint": {
"settings": {
"problems": {
"shortenToSingleLine": true
},
"rulesCustomizations": [
{
"rule": "style/*",
"severity": "off",
"fixable": true
},
{
"rule": "format/*",
"severity": "off",
"fixable": true
},
{
"rule": "*-indent",
"severity": "off",
"fixable": true
},
{
"rule": "*-spacing",
"severity": "off",
"fixable": true
},
{
"rule": "*-spaces",
"severity": "off",
"fixable": true
},
{
"rule": "*-order",
"severity": "off",
"fixable": true
},
{
"rule": "*-dangle",
"severity": "off",
"fixable": true
},
{
"rule": "*-newline",
"severity": "off",
"fixable": true
},
{
"rule": "*quotes",
"severity": "off",
"fixable": true
},
{
"rule": "*semi",
"severity": "off",
"fixable": true
}
],
"validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"svelte",
"css",
"less",
"scss",
"pcss",
"postcss"
]
}
},
"typescript-language-server": {
"initialization_options": {
"preferences": {
// https://github.com/typescript-language-server/typescript-language-server?tab=readme-ov-file#inlay-hints-textdocumentinlayhint
// "includeInlayParameterNameHints": "all",
// "includeInlayParameterNameHintsWhenArgumentMatchesName": true,
// "includeInlayFunctionParameterTypeHints": true,
// "includeInlayVariableTypeHints": true,
// "includeInlayVariableTypeHintsWhenTypeMatchesName": true,
// "includeInlayPropertyDeclarationTypeHints": true,
// "includeInlayFunctionLikeReturnTypeHints": true,
// "includeInlayEnumMemberValueHints": true
}
}
}
},
"ui_font_size": 17,
"theme": "Min Dark (Blurred)",
"buffer_font_size": 17.0,
"vim_mode": false,
"format_on_save": "on",
"hard_tabs": false,
"formatter": "auto",
"remove_trailing_whitespace_on_save": true,
"ensure_final_newline_on_save": true,
"file_scan_exclusions": ["crates/eval/worktrees/", "crates/eval/repos/"],
"file_types": {
"Dockerfile": ["Dockerfile*[!dockerignore]"],
"Git Ignore": ["dockerignore"]
},
"project_panel": {
"indent_size": 10,
"file_icons": true,
"folder_icons": false,
"dock": "right",
"indent_guides": {
"show": "never"
},
"scrollbar": {
"show": "never"
}
},
"gutter": {
"line_numbers": false
},
"scrollbar": {
"show": "never"
},
"terminal": {
"toolbar": {
"breadcrumbs": false
}
},
"experimental.theme_overrides": {
"renamed.background": "#FFFFFF20",
"search.match_background": "#FFFFFF20",
"ghost_element.background": "#00000001",
"ghost_element.hover": "#00000099",
"background.appearance": "blurred",
"background": "#000000CC",
"editor.background": "#00000001",
"editor.gutter.background": "#00000001",
"title_bar.background": "#000000d1",
"toolbar.background": "#00000001",
"terminal.background": "#00000000",
"status_bar.background": "#000000d1",
"tab.active_background": "#f1f1f118",
"tab.inactive_background": "#00000000",
"tab_bar.background": "#00000001",
"panel.background": "#00000001",
"border": "#00000000",
"border.variant": "#00000000",
"scrollbar.track.border": "#00000000",
"scrollbar.thumb.background": "#00000000",
"scrollbar.thumb.hover.background": "#00000000",
"scrollbar.thumb.active.background": "#00000000",
"scrollbar.thumb.border": "#FFFFFF90",
"editor.line_highlight": "#00000000",
"editor.active_line.background": "#00000000",
"editor.selection.background": "#00000000",
"editor.selection.foreground": "#00000000",
"editor.selection.border": "#00000000",
"editor.selection.inactive.foreground": "#00000000",
"editor.selection.inactive.border": "#00000000",
"editor.selection.active.background": "#00000000",
"editor.selection.active.foreground": "#00000000",
"editor.selection.active.border": "#00000000",
"editor.selection.inactive.background": "#00000000",
"editor.indent_guide": "#00000001",
"editor.indent_guide_active": "#00000001",
"scrollbar.track.background": "#52525b20",
"error.background": "#A20000"
}
}
@allipiopereira
Copy link
Author

update-1

@allipiopereira
Copy link
Author

fix intellisense tailwindcss

@allipiopereira
Copy link
Author

fix eslint, prettier, tailwindcss, autoformat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment