id
stringlengths
20
30
source
stringclasses
1 value
chunk_index
int64
0
520k
token_count
int32
154
512
content
stringlengths
185
57.5k
rust_dataset_chunk_509800
rust_dataset.txt
509,800
512
Or via Cargo cargo install stylua --features lua52,lua53,lua54,luau ``` Configure formatting in Settings ({#kb zed::OpenSettings}) under Languages > Luau, or add to your settings file: ```json [settings] "languages": { "Luau": { "formatter": { "external": { "command": "stylua", ...
rust_dataset_chunk_509801
rust_dataset.txt
509,801
512
on save. Configure formatting in Settings ({#kb zed::OpenSettings}) under Languages > Markdown, or add to your settings file: ```json [settings] "languages": { "Markdown": { "format_on_save": "on" } }, ``` ### List Continuation Zed automatically continues lists when you press Enter at the end of ...
rust_dataset_chunk_509802
rust_dataset.txt
509,802
512
) - [AsciiDoc](./languages/asciidoc.md) - [Astro](./languages/astro.md) - [Bash](./languages/bash.md) \* - [Biome](./languages/biome.md) - [C](./languages/c.md) \* - [C++](./languages/cpp.md) \* - [C#](./languages/csharp.md) - [Clojure](./languages/clojure.md) - [CSS](./languages/css.md) \* - [Dart](./languages/dart.md...
rust_dataset_chunk_509803
rust_dataset.txt
509,803
512
) - [ReStructuredText](./languages/rst.md) - [Racket](./languages/racket.md) - [Roc](./languages/roc.md) - [Ruby](./languages/ruby.md) - [Rust](./languages/rust.md) \* (Zed's written in Rust) - [Scala](./languages/scala.md) - [Scheme](./languages/scheme.md) - [Shell Script](./languages/sh.md) - [Standard ML](./language...
rust_dataset_chunk_509804
rust_dataset.txt
509,804
512
.com/cmackenzie1/zed-capnp) - [Cedar](https://github.com/chrnorm/zed-cedar) - [CFEngine policy language](https://github.com/olehermanse/zed-cfengine) - [CSV](https://github.com/huacnlee/zed-csv) - [Cucumber/Gherkin](https://github.com/thlcodes/zed-extension-cucumber) - [CUE](https://github.com/jkasky/zed-cue) - [Curry]...
rust_dataset_chunk_509805
rust_dataset.txt
509,805
512
467/zed-log) - [Lox](https://github.com/arian81/zed-lox) - [Markdown Oxide](https://github.com/Feel-ix-343/markdown-oxide-zed) - [Marksman](https://github.com/vitallium/zed-marksman) - [Matlab](https://github.com/zed-extensions/matlab) - [Meson](https://github.com/jobpaardekooper/zed-meson) - [Navi](https://github.com/...
rust_dataset_chunk_509806
rust_dataset.txt
509,806
512
github.com/joshrutkowski/zed-smithy) - [Solidity](https://github.com/zarifpour/zed-solidity) - [SQL](https://github.com/evrensen467/zed-sql) - [Strace](https://github.com/sigmaSd/zed-strace) - [Swift](https://github.com/zed-extensions/swift) - [Templ](https://github.com/makifdb/zed-templ) - [Tmux](https://github.com/da...
rust_dataset_chunk_509807
rust_dataset.txt
509,807
512
etheduck/nph) as a formatter, follow the [nph installation instructions](https://github.com/arnetheduck/nph?tab=readme-ov-file#installation). Configure formatting in Settings ({#kb zed::OpenSettings}) under Languages > Nim, or add to your settings file: ```json [settings] "languages": { "Nim": { "formatte...
rust_dataset_chunk_509808
rust_dataset.txt
509,808
512
with no additional setup required. --- FILE: zed/docs/src/languages/opentofu.md --- --- title: OpenTofu description: "Configure OpenTofu language support in Zed, including language servers, formatting, and debugging." --- # OpenTofu OpenTofu support is available through the [OpenTofu extension](https://github.com/...
rust_dataset_chunk_509809
rust_dataset.txt
509,809
512
protocol) with Phpactor as the default. If you want to use other language servers that support Zed (e.g. Intelephense, PHP Tools or PHPantom), make sure to follow the documentation on how to implement it. ### Intelephense [Intelephense](https://intelephense.com/) is a [proprietary](https://github.com/bmewburn/vscode-...
rust_dataset_chunk_509810
rust_dataset.txt
509,810
512
lsp": { "phptools": { "initialization_options": { "0": "your_license_key" } } } } ``` or, set environment variable `DEVSENSE_PHP_LS_LICENSE` on `.env` file in your project. ```env DEVSENSE_PHP_LS_LICENSE="your_license_key" ``` Check out the documentation of [PHP Tools for Zed](https://d...
rust_dataset_chunk_509811
rust_dataset.txt
509,811
512
Xdebug and Zed. - Look at the diagnostics log by using the `xdebug_info()` function in the page you're trying to debug. ## Using the Tailwind CSS Language Server with PHP To get all the features (autocomplete, linting, etc.) from the [Tailwind CSS language server](https://github.com/tailwindlabs/tailwindcss-intellis...
rust_dataset_chunk_509812
rust_dataset.txt
509,812
512
including language servers, formatting, and debugging." --- # PowerShell PowerShell language support in Zed is provided by the community-maintained [Zed PowerShell extension](https://github.com/wingyplus/zed-powershell). Please report issues to: [github.com/wingyplus/zed-powershell/issues](https://github.com/wingypl...
rust_dataset_chunk_509813
rust_dataset.txt
509,813
512
hqc/tree-sitter-prisma](https://github.com/victorhqc/tree-sitter-prisma) - Language-Server: [prisma/language-tools](https://github.com/prisma/language-tools) <!-- TBD: Prisma usage and configuration documentation --> --- FILE: zed/docs/src/languages/proto.md --- --- title: Proto description: "Configure Proto languag...
rust_dataset_chunk_509814
rust_dataset.txt
509,814
512
} ``` --> --- FILE: zed/docs/src/languages/purescript.md --- --- title: PureScript description: "Configure PureScript language support in Zed, including language servers, formatting, and debugging." --- # PureScript PureScript support is available through the [PureScript extension](https://github.com/zed-extensio...
rust_dataset_chunk_509815
rust_dataset.txt
509,815
512
is installed and available in your shell: ```bash python3 --version ``` You should see an output like `Python 3.x.x`. ## Open Your First Python Project in Zed Once Zed and Python are installed, open a folder containing Python code to start working. ### Step 1: Launch Zed with a Python Project Open Zed. From the ...
rust_dataset_chunk_509816
rust_dataset.txt
509,816
512
// language servers that are enabled by default (e.g. ruff). "ty", "!basedpyright", "..." ] } } } ``` See: [Working with Language Servers](https://zed.dev/docs/configuring-languages#working-with-language-servers) for more information about how to enable and disable language servers...
rust_dataset_chunk_509817
rust_dataset.txt
509,817
512
/) and [configuration files](https://docs.basedpyright.com/latest/configuration/config-files/) for comprehensive lists of available options. ##### Language server settings Language server settings for basedpyright in Zed can be set in the `lsp` section of your `settings.json`. For example, to: - diagnose all files ...
rust_dataset_chunk_509818
rust_dataset.txt
509,818
512
): Add a `pyrefly.toml` or configure `[tool.pyrefly]` in your `pyproject.toml` at the root of your project. This is the standard way to use Pyrefly and allows you to customize its behavior. Example minimal `pyrefly.toml`: ```toml # Check all Python files in your project project-includes = ["."] ``` For comprehensive...
rust_dataset_chunk_509819
rust_dataset.txt
509,819
512
If a built-in language server is installed in the active virtual environment, that binary will be used instead of Zed's private automatically-installed binary. This also applies to debugpy. ### Selecting a Toolchain For most projects, Zed will automatically select the right Python toolchain. In complex projects with...
rust_dataset_chunk_509820
rust_dataset.txt
509,820
512
, you must explicitly set `source.organizeImports.ruff` to false in the `code_actions_on_format` section, in addition to changing the formatter. To prevent any formatting actions when you save, you can disable format-on-save for Python files. Configure in Settings ({#kb zed::OpenSettings}) under Languages > Python, o...
rust_dataset_chunk_509821
rust_dataset.txt
509,821
512
` ## Debugging Zed supports Python debugging through the `debugpy` adapter. You can start with no configuration or define custom launch profiles in `.zed/debug.json`. ### Start Debugging with No Setup Zed can automatically detect debuggable Python entry points. Press F4 (or run debugger: start from the Command Pale...
rust_dataset_chunk_509822
rust_dataset.txt
509,822
512
urls.py … ``` …the following configuration can be used: ```json [debug] [ { "label": "Python: Django", "adapter": "Debugpy", "request": "launch", "program": "manage.py", "args": ["runserver"], "django": true } ] ``` ## Troubleshooting Issues with Python in Zed typically involve ...
rust_dataset_chunk_509823
rust_dataset.txt
509,823
512
not yet supported in Zed, please see [Issue #15789](https://github.com/zed-industries/zed/issues/15789) for more information. --- FILE: zed/docs/src/languages/rego.md --- --- title: Rego description: "Configure Rego language support in Zed, including language servers, formatting, and debugging." --- # Rego Rego la...
rust_dataset_chunk_509824
rust_dataset.txt
509,824
512
.com/ocsmit/zed-r) - Tree-sitter: [r-lib/tree-sitter-r](https://github.com/r-lib/tree-sitter-r) - Language-Server: [REditorSupport/languageserver](https://github.com/REditorSupport/languageserver) - [posit-dev/air](https://github.com/posit-dev/air/tree/main/editors/zed) - Formatter: [posit-dev/air](https://posi...
rust_dataset_chunk_509825
rust_dataset.txt
509,825
512
ocsmit/zed-r) extension (for general R language awareness in Zed) and the [Air](https://posit-dev.github.io/air/) extension. Configure language servers in Settings ({#kb zed::OpenSettings}) under Languages > R, or add to your settings file: ```json [settings] { "languages": { "R": { "language_servers": ["...
rust_dataset_chunk_509826
rust_dataset.txt
509,826
512
] { "lsp": { "r_language_server": { "settings": { "r": { "lsp": { "diagnostics": false, "snippet_support": false } } } } } } ``` --> <!-- TBD: R REPL Docs ## REPL ### Ark Installation To use the [Zed REPL](../repl.md) with R you ne...
rust_dataset_chunk_509827
rust_dataset.txt
509,827
512
](https://github.com/faldor20/tree-sitter-roc) - Language Server: [roc-lang/roc/tree/main/src/lsp](https://github.com/roc-lang/roc/tree/main/src/lsp) ## Setup 1. Follow instructions to [Install Roc](https://www.roc-lang.org/install) from the Roc-Lang website. 2. Ensure `roc` is in your PATH. --- FILE: zed/docs/src/...
rust_dataset_chunk_509828
rust_dataset.txt
509,828
512
Servers There are multiple language servers available for Ruby. Zed supports the two following: - [solargraph](https://github.com/castwide/solargraph) - [ruby-lsp](https://github.com/Shopify/ruby-lsp) They both have an overlapping feature set of autocomplete, diagnostics, code actions, etc. and it's up to you to de...
rust_dataset_chunk_509829
rust_dataset.txt
509,829
512
PATH`. 3. If the language server is not found in either location, the Ruby extension will automatically install it as a global gem (note: this will not install to your current Ruby gemset). You can skip step 1 and force using the system executable by setting `use_bundler` to `false` in your settings: ```json [setting...
rust_dataset_chunk_509830
rust_dataset.txt
509,830
512
has formatting and diagnostics disabled by default. We can tell Zed to enable them by adding the following to your `settings.json`: ```json [settings] { "lsp": { "solargraph": { "initialization_options": { "diagnostics": true, "formatting": true } } } } ``` ### Configuration ...
rust_dataset_chunk_509831
rust_dataset.txt
509,831
512
"initialization_options": { "enabledFeatures": { "diagnostics": false } } } } } ``` ## Setting up Sorbet [Sorbet](https://sorbet.org/) is a popular static type checker for Ruby that includes a language server. To enable Sorbet, add `\"sorbet\"` to the `language_servers` li...
rust_dataset_chunk_509832
rust_dataset.txt
509,832
512
to look for CSS classes by adding the following to your `settings.json`: ```json [settings] { "lsp": { "tailwindcss-language-server": { "settings": { "experimental": { "classRegex": ["\\bclass:\\s*['\"]([^'\"]*)['\"]"] } } } } } ``` With these settings, you will get ...
rust_dataset_chunk_509833
rust_dataset.txt
509,833
512
_NAME\"" ], "cwd": "$ZED_WORKTREE_ROOT", "tags": ["ruby-test"] } ] ``` ### RSpec ```json [tasks] [ { "label": "test $ZED_RELATIVE_FILE:$ZED_ROW", "command": "bundle", "args": ["exec", "rspec", "\"$ZED_RELATIVE_FILE:$ZED_ROW\""], "cwd": "$ZED_WORKTREE_ROOT", "tags": ["ruby-test"] ...
rust_dataset_chunk_509834
rust_dataset.txt
509,834
512
FILE: zed/docs/src/languages/rust.md --- --- title: Rust description: "Configure Rust language support in Zed, including language servers, formatting, and debugging." --- # Rust Rust support is available natively in Zed. - Tree-sitter: [tree-sitter/tree-sitter-rust](https://github.com/tree-sitter/tree-sitter-rust) ...
rust_dataset_chunk_509835
rust_dataset.txt
509,835
512
successfully executes `rust-analyzer --help`, it's used. Otherwise, Zed will fall back to installing its own stable `rust-analyzer` version and use that. If you want to install a pre-release `rust-analyzer` version instead, you can instruct Zed to do so by setting `pre_release` to `true` in your `settings.json`: ```...
rust_dataset_chunk_509836
rust_dataset.txt
509,836
512
agnostics fetch By default, rust-analyzer has `checkOnSave: true` enabled, which causes every buffer save to trigger a `cargo check --workspace --all-targets` command. If disabled with `checkOnSave: false` (see the example of the server configuration json above), it's still possible to fetch the diagnostics manually, ...
rust_dataset_chunk_509837
rust_dataset.txt
509,837
512
.` and `rust-analyzer.diagnostics.` settings from the manual for more fine-grained configuration. Here's a snippet for Zed settings.json (the language server will restart automatically after the `lsp.rust-analyzer` section is edited and saved): ```json [settings] { "lsp": { "rust-analyzer": { "initializati...
rust_dataset_chunk_509838
rust_dataset.txt
509,838
512
"Rc::new": { "postfix": "rc", "body": ["Rc::new(${receiver})"], "requires": "std::rc::Rc", "scope": "expr" }, "Box::pin": { "postfix": "boxpin", "body": ["Box::pin(${receiver})"], ...
rust_dataset_chunk_509839
rust_dataset.txt
509,839
512
"] } ] ``` --- FILE: zed/docs/src/languages/scala.md --- --- title: Scala description: "Configure Scala language support in Zed, including language servers, formatting, and debugging." --- # Scala Scala language support in Zed is provided by the community-maintained [Scala extension](https://github.com/scalameta/...
rust_dataset_chunk_509840
rust_dataset.txt
509,840
512
h/tree-sitter-scheme) --- FILE: zed/docs/src/languages/sh.md --- --- title: Shell Script description: "Configure Shell Script language support in Zed, including language servers, formatting, and debugging." --- # Shell Scripts Shell Scripts (bash, zsh, dash, sh) are supported natively by Zed. - Tree-sitter: [tree-...
rust_dataset_chunk_509841
rust_dataset.txt
509,841
512
Standard ML support is available through the community-maintained [Standard ML extension](https://github.com/omarjatoi/zed-sml). - Tree-sitter: [MatthewFluet/tree-sitter-sml](https://github.com/MatthewFluet/tree-sitter-sml) - Language Server: [Millet](https://github.com/azdavis/millet) ## Setup 1. Install a Standard...
rust_dataset_chunk_509842
rust_dataset.txt
509,842
512
#kb zed::OpenSettings}) under Languages > SQL, or add to your settings file: ```json [settings] "languages": { "SQL": { "formatter": { "external": { "command": "sql-formatter", "arguments": ["--language", "mysql"] } } } }, ``` Substitute your preferred [SQL ...
rust_dataset_chunk_509843
rust_dataset.txt
509,843
512
" }, // Styling for modifiers at the end of attributes, e.g. `on:<click|preventDefault|stopPropagation>` "attribute.special": { "color": "#00ff00" } } ``` ## Inlay Hints When inlay hints are enabled in Zed, to make the language server send them back, Zed sets the following initialization options: ```json...
rust_dataset_chunk_509844
rust_dataset.txt
509,844
512
([^']*)'" ] } } } } } ``` With these settings, you will get completions for Tailwind CSS classes in Svelte files. Examples: ```svelte <!-- Standard class attribute --> <div class="flex items-center <completion here>"> <p class="text-lg font-bold <completion here>">Hello World</p> </div...
rust_dataset_chunk_509845
rust_dataset.txt
509,845
512
't attempt to download `lldb-dap` if it's not found. - [lldb-dap configuration documentation](https://github.com/llvm/llvm-project/blob/main/lldb/tools/lldb-dap/README.md#configuration-settings-reference) ### Examples #### Build and debug a Swift binary ```json [debug] [ { "label": "Debug Swift", "build":...
rust_dataset_chunk_509846
rust_dataset.txt
509,846
512
server isn't enough to make Tailwind work for a given language, you can configure the language server settings and add them to the `lsp` section of your `settings.json`: ```json [settings] { "lsp": { "tailwindcss-language-server": { "settings": { "classFunctions": ["cva", "cx"], "experimen...
rust_dataset_chunk_509847
rust_dataset.txt
509,847
512
://github.com/tree-sitter-grammars/tree-sitter-hcl) - Language Server: [hashicorp/terraform-ls](https://github.com/hashicorp/terraform-ls) ## Configuration <!-- TBD: Add example using `rootModulePaths` to match upstream example https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#vs-code --> The Terr...
rust_dataset_chunk_509848
rust_dataset.txt
509,848
512
kb zed::OpenSettings}) under Languages > TypeScript/TSX/JavaScript, or add to your settings file: ```json [settings] { "languages": { "TypeScript": { "language_servers": ["typescript-language-server", "!vtsls", "..."] }, "TSX": { "language_servers": ["typescript-language-server", "!vtsls", "....
rust_dataset_chunk_509849
rust_dataset.txt
509,849
512
} ``` ## Large projects `vtsls` may run out of memory on very large projects. We default the limit to 8192 (8 GiB) vs. the default of 3072 but this may not be sufficient for you: ```json [settings] { "lsp": { "vtsls": { "settings": { // For TypeScript: "typescript": { "tsserver": { "maxTs...
rust_dataset_chunk_509850
rust_dataset.txt
509,850
512
}, "functionLikeReturnTypes": { "enabled": true }, "enumMemberValues": { "enabled": true } } }, // For TypeScript: "typescript": { "inlayHints": { "parameterNames": { "enabl...
rust_dataset_chunk_509851
rust_dataset.txt
509,851
512
). > **Note:** Bun test is automatically detected when `@types/bun` is present in `package.json`. Detected Bun tests can be run as tasks but not debugged, because `vscode-js-debug` does not support the WebKit Inspector Protocol that Bun uses. > **Note:** Node test is automatically detected when `@types/node` is prese...
rust_dataset_chunk_509852
rust_dataset.txt
509,852
512
tacit code. Uiua support is available through the [Uiua extension](https://github.com/zed-extensions/uiua). - Tree-sitter: [shnarazk/tree-sitter-uiua](https://github.com/shnarazk/tree-sitter-uiua) - Language Server: [uiua-lang/uiua](https://github.com/uiua-lang/uiua/) --- FILE: zed/docs/src/languages/vue.md --- --...
rust_dataset_chunk_509853
rust_dataset.txt
509,853
512
. "vue.inlayHints.optionsWrapper": true, // Display inlay hints related to `v-bind` shorthand (`:`). "vue.inlayHints.vBindShorthand": true } } } } ``` You can find the upstream settings configuration schema [`here`](https://github.com/vuejs/language-tools/blob/ee5041d27940cf6f9a5150...
rust_dataset_chunk_509854
rust_dataset.txt
509,854
512
template> ``` --- FILE: zed/docs/src/languages/xml.md --- --- title: XML description: "Configure XML language support in Zed, including language servers, formatting, and debugging." --- # XML XML support is available through the [XML extension](https://github.com/sweetppro/zed-xml/). - Tree-sitter: [tree-sitter-gr...
rust_dataset_chunk_509855
rust_dataset.txt
509,855
512
.keyOrdering` becomes `{"yaml": { "keyOrdering": true }}`. ## Formatting By default, Zed uses Prettier for formatting YAML files. ### Prettier Formatting You can customize the formatting behavior of Prettier. For example to use single-quotes in yaml files add the following to your `.prettierrc` configuration file: ...
rust_dataset_chunk_509856
rust_dataset.txt
509,856
512
customTags": [ "!And scalar", "!And mapping", "!And sequence", "!If scalar", "!If mapping", "!If sequence", "!Not scalar", "!Not mapping", "!Not sequence", "!Equals scalar", "!Equals mappi...
rust_dataset_chunk_509857
rust_dataset.txt
509,857
512
, and debugging." --- # Yarn [Yarn](https://yarnpkg.com/) is a JavaScript package manager that provides deterministic dependency resolution and offline caching. ## Setup 1. Run `yarn dlx @yarnpkg/sdks base` to generate a `.yarn/sdks` directory. 2. Set your language server (e.g. VTSLS) to use TypeScript SDK from `.y...
rust_dataset_chunk_509858
rust_dataset.txt
509,858
512
- aarch64 (ARM): glibc version >= 2.35 (Ubuntu 22 and newer) NixOS does not have a system-wide glibc by default. If you'd like to use our builds on NixOS, they may work if you install a glibc compatibility layer such as [nix-ld](https://github.com/Mic92/nix-ld). You will need to build from source for: - architectur...
rust_dataset_chunk_509859
rust_dataset.txt
509,859
512
search.nixos.org/packages?channel=unstable&show=zed-editor)) - Solus: [`zed`](https://github.com/getsolus/packages/tree/main/packages/z/zed) - Parabola: [`zed`](https://www.parabola.nu/packages/extra/x86_64/zed/) - ALT Linux (Sisyphus): [`zed`](https://packages.altlinux.org/en/sisyphus/srpms/zed/) - AOSC OS: [`zed`](ht...
rust_dataset_chunk_509860
rust_dataset.txt
509,860
512
=zed&arch=aarch64&os=linux&source=docs)) Then ensure that the `zed` binary in the tarball is on your path. The easiest way is to unpack the tarball and create a symlink: ```sh mkdir -p ~/.local # extract zed to ~/.local/zed.app/ tar -xvf <path/to/download>.tar.gz -C ~/.local # link the zed binary to ~/.local/bin (or ...
rust_dataset_chunk_509861
rust_dataset.txt
509,861
512
having parallel installations of different versions of Zed. But the second command should always work as long as Zed was installed to its default location. If Zed was installed to a different location (such as the `zed-preview.app` variant), you must invoke the `zed` binary stored in that installation directory and p...
rust_dataset_chunk_509862
rust_dataset.txt
509,862
512
can find out which graphics card Zed is using by looking in the Zed log (`~/.local/share/zed/logs/Zed.log`) for `Using GPU: ...`. If you see errors like `ERROR_INITIALIZATION_FAILED` or `GPU Crashed` or `ERROR_SURFACE_LOST_KHR` then you may be able to work around this by installing different drivers for your GPU, or ...
rust_dataset_chunk_509863
rust_dataset.txt
509,863
512
VGA` which will output each GPU on one line like: ``` 08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070] [10de:2484] (rev a1) ``` where the device ID here is `2484`. This value is in hexadecimal, so to force Zed to use this specific GPU you would set the environment variable like s...
rust_dataset_chunk_509864
rust_dataset.txt
509,864
512
do ```sh ZED_LOG=wgpu=info /path/to/zed/cli --foreground . # copy the output ``` It is also highly recommended when pasting the log into a github issue, to do so with the following template: > **_Note_**: The whitespace in the template is important, and will cause incorrect formatting if not preserved. ```` <detai...
rust_dataset_chunk_509865
rust_dataset.txt
509,865
512
You can check the limits with `ulimit` and update them by editing `/etc/security/limits.conf`. ### No sound or wrong output device If you're not hearing any sound in Zed or the audio is routed to the wrong device, it could be due to a mismatch between audio systems. Zed relies on ALSA, while your system may be using...
rust_dataset_chunk_509866
rust_dataset.txt
509,866
512
: - `96` for standard 1x scaling - `144` for 1.5x scaling - `192` for 2x scaling - `288` for 3x scaling Load the configuration: ```sh xrdb -merge ~/.Xresources ``` Restart Zed for the changes to take effect. #### Option 2: Use the GPUI_X11_SCALE_FACTOR environment variable This Zed-specific environment variable d...
rust_dataset_chunk_509867
rust_dataset.txt
509,867
512
: "Zed is developed primarily on macOS, making it a first-class platform with full feature support." --- # Zed on macOS Zed is developed primarily on macOS, making it a first-class platform with full feature support. ## Installing Zed Download Zed from the [download page](https://zed.dev/download). The download is ...
rust_dataset_chunk_509868
rust_dataset.txt
509,868
512
zed ``` ## Troubleshooting ### Zed won't open or shows "damaged" warning If macOS reports that Zed is damaged or can't be opened, it's likely a Gatekeeper issue. Try: 1. Right-click (or Control-click) on Zed in Applications 2. Select "Open" from the context menu 3. Click "Open" in the dialog that appears This tell...
rust_dataset_chunk_509869
rust_dataset.txt
509,869
512
uses more resources than expected: 1. Check for runaway language servers in the terminal output ({#action zed::OpenLog}) 2. Try disabling extensions one by one to identify conflicts 3. For large projects, consider using [project settings](./reference/all-settings.md#file-scan-exclusions) to exclude unnecessary folder...
rust_dataset_chunk_509870
rust_dataset.txt
509,870
512
` move and select by subword, so identifiers like `camelCase` and `snake_case` behave like IntelliJ's CamelHumps navigation. ## Set Up Editor Preferences You can configure most settings in the Settings Editor ({#kb zed::OpenSettings}). For advanced settings, run {#action zed::OpenSettingsFile} from the Command Palett...
rust_dataset_chunk_509871
rust_dataset.txt
509,871
512
status. Toggle it with `Cmd+1` (just like IntelliJ's Project tool window). ## Differences in Keybindings If you chose the JetBrains keymap during onboarding, most of your shortcuts should already feel familiar. Here's a quick reference for how Zed compares to IntelliJ. ### Common Shared Keybindings (Zed with JetBra...
rust_dataset_chunk_509872
rust_dataset.txt
509,872
512
+ F2` | ### Unique to Zed | Action | Shortcut | Notes | | ----------------- | -------------------------- | ------------------------------ | | Toggle Right Dock | `Cmd + R` | Agent panel, notifications | | Split Panes | `Cmd...
rust_dataset_chunk_509873
rust_dataset.txt
509,873
512
, and Go have mature language servers that provide fast, accurate completions, diagnostics, and refactorings. For JVM languages, the gap might be more noticeable. The Eclipse-based Java language server is capable, but it won't match IntelliJ's depth for things like: - Spring and Jakarta EE annotation processing - Comp...
rust_dataset_chunk_509874
rust_dataset.txt
509,874
512
and searchable. Jakarta EE annotations modify how the IDE analyzes your code. Zed has none of this. The language server sees Java code as Java code, so it doesn't understand that `@Autowired` means something special or that this class is a REST controller. Similarly for other stacks: no Rails integration, no Django ...
rust_dataset_chunk_509875
rust_dataset.txt
509,875
512
:** IntelliJ has an "Override IDE shortcuts" setting that lets terminal shortcuts like `Ctrl+Left/Right` work normally. In Zed, terminal keybindings are separate—check your keymap if familiar shortcuts aren't working in the terminal panel. ### Debugging Both IntelliJ and Zed offer integrated debugging, but the experi...
rust_dataset_chunk_509876
rust_dataset.txt
509,876
512
` (Linux/Windows) 2. Navigate to **AI → Edit Predictions** 3. Click **Configure** next to "Configure Providers" 4. Under **GitHub Copilot**, click **Sign in to GitHub** Once signed in, just start typing. Zed will offer suggestions inline for you to accept. ### Additional AI Options To use other AI models in Zed, you...
rust_dataset_chunk_509877
rust_dataset.txt
509,877
512
Zed, including settings and keybindings." --- # How to Migrate from PyCharm to Zed This guide covers how to set up Zed if you're coming from PyCharm, including keybindings, settings, and the differences you should expect. ## Install Zed Zed is available on macOS, Windows, and Linux. For macOS, you can download it...
rust_dataset_chunk_509878
rust_dataset.txt
509,878
512
| Wrap long lines. Options: `"none"`, `"editor_width"`, `"preferred_line_length"` | | `preferred_line_length` | Column width for wrapping and rulers. Default is 80, PEP 8 recommends 79. | | `inlay_hints` | Show parameter names and type hints inline, like PyCharm's hints. | | `...
rust_dataset_chunk_509879
rust_dataset.txt
509,879
512
| `Cmd + Shift + O` | | Go to Symbol | `Cmd + O` | | Recent Files | `Cmd + E` | | Go to Definition | `Cmd + B` | | Find Usages | `Alt + F7` | | Rename Symbol ...
rust_dataset_chunk_509880
rust_dataset.txt
509,880
512
individual shortcuts or remove conflicts. Zed also supports key sequences (multi-key shortcuts). ## Differences in User Interfaces ### No Indexing If you've used PyCharm on large projects, you know the wait: "Indexing..." can take anywhere from 30 seconds to several minutes depending on project size and dependenci...
rust_dataset_chunk_509881
rust_dataset.txt
509,881
512
) may be less sophisticated - Auto-import suggestions depend on what the language server knows about your environment **How to adapt:** - Use `Alt+Enter` for available code actions—the list will vary by language server - Ensure your virtual environment is selected so the language server can resolve your dependencies ...
rust_dataset_chunk_509882
rust_dataset.txt
509,882
512
is external. Zed discovers environments but doesn't create them. - Dependencies are managed through pip, uv, poetry, or conda—not through the editor. - There's no Python Console (interactive REPL) panel. Use `python` or `ipython` in the terminal instead. **How to adapt:** - Create a `.zed/settings.json` in your proj...
rust_dataset_chunk_509883
rust_dataset.txt
509,883
512
1` | | Git (9 or Cmd+0) | Git Panel | `Cmd + 0` | | Terminal (Alt+F12) | Terminal Panel | `Alt + F12` | | Structure (7) | Outline Panel | `Cmd + 7` | | Problems (6) | Diagnostics | `Cmd + 6` | | Debug (5) ...
rust_dataset_chunk_509884
rust_dataset.txt
509,884
512
covering everything from additional language support to database tools to deployment integrations. Zed's extension catalog is smaller and more focused: - Language support and syntax highlighting - Themes - Context servers Several features that require plugins in PyCharm are built into Zed: - Real-time collaboratio...
rust_dataset_chunk_509885
rust_dataset.txt
509,885
512
### Additional AI Options To use other AI models in Zed, you have several options: - Use Zed's hosted models, with higher rate limits. Requires [authentication](https://zed.dev/docs/authentication) and access through [Zed Pro](https://zed.dev/docs/account/zed-hosted-models.html). - Bring your own [API keys](https://z...
rust_dataset_chunk_509886
rust_dataset.txt
509,886
512
--- --- title: How to Migrate from RustRover to Zed description: "Guide for migrating from RustRover to Zed, including settings and keybindings." --- # How to Migrate from RustRover to Zed This guide covers keybindings, settings, and the differences you'll encounter as a Rust developer switching from RustRover. ## ...
rust_dataset_chunk_509887
rust_dataset.txt
509,887
512
Auto-format when saving. Set to `"on"` to enable (uses rustfmt by default). | | `soft_wrap` | Wrap long lines. Options: `"none"`, `"editor_width"`, `"preferred_line_length"` | | `preferred_line_length` | Column width for wrapping and rulers. Rust convention is 100. | | `inlay_hints` ...
rust_dataset_chunk_509888
rust_dataset.txt
509,888
512
Go to Symbol | `Cmd + O` | | Recent Files | `Cmd + E` | | Go to Definition | `Cmd + B` | | Find Usages | `Alt + F7` | | Rename Symbol | `Shift + F6` | | Refo...
rust_dataset_chunk_509889
rust_dataset.txt
509,889
512
list of all available bindings. You can override individual shortcuts or remove conflicts. Zed also supports key sequences (multi-key shortcuts). ## Differences in User Interfaces ### Different Analysis Engines RustRover uses its own proprietary code analysis engine for Rust intelligence. Zed uses rust-analyzer vi...
rust_dataset_chunk_509890
rust_dataset.txt
509,890
512
commands in `tasks.json` (open via Command Palette: {#action zed::OpenTasks}): ```json [ { "label": "cargo run", "command": "cargo run" }, { "label": "cargo build", "command": "cargo build" }, { "label": "cargo test", "command": "cargo test" }, { "label": "cargo clippy", ...
rust_dataset_chunk_509891
rust_dataset.txt
509,891
512
(5) | Debug Panel | `Cmd + 5` | Zed has three dock positions: left, bottom, and right. Panels can be moved between docks by dragging or through settings. Note that there's no dedicated Cargo tool window in Zed. Use the terminal or define tasks for your common Cargo commands. ### Deb...
rust_dataset_chunk_509892
rust_dataset.txt
509,892
512
- `cargo test -- --test-threads=1` for sequential test execution - `cargo test specific_test_name` to run a single test ### Extensions vs. Plugins RustRover has a full JetBrains plugin catalog. Zed's extension catalog is smaller and more focused: - Language support and syntax highlighting - Themes - Context servers...
rust_dataset_chunk_509893
rust_dataset.txt
509,893
512
click **Sign in to GitHub** Once signed in, just start typing. Zed will offer suggestions inline for you to accept. ### Additional AI Options To use other AI models in Zed, you have several options: - Use Zed's hosted models, with higher rate limits. Requires [authentication](https://zed.dev/docs/authentication) a...
rust_dataset_chunk_509894
rust_dataset.txt
509,894
512
lsp": { "rust-analyzer": { "initialization_options": { "linkedProjects": ["./project-a/Cargo.toml", "./project-b/Cargo.toml"] } } } } ``` ## Next Steps Now that you're set up, here are some resources to help you get the most out of Zed: - [All Settings](../reference/all-settings.md) — C...
rust_dataset_chunk_509895
rust_dataset.txt
509,895
512
`editor.fontSize` | `buffer_font_size` | | `editor.fontWeight` | `buffer_font_weight` | | `editor.tabSize` | `tab_size` | | `editor.insertSpaces` ...
rust_dataset_chunk_509896
rust_dataset.txt
509,896
512
_cursor` | | `editor.rulers` | `wrap_guides` | | `editor.renderWhitespace` | `show_whitespaces` | | `editor.guides.indentation` | `indent_guides.enabled` | | `...
rust_dataset_chunk_509897
rust_dataset.txt
509,897
512
.scrollback` | `terminal.max_scroll_history_lines` | | `terminal.integrated.macOptionIsMeta` | `terminal.option_as_meta` | | `terminal.integrated.{platform}Exec` | `terminal.shell` | | `terminal.integrated.env.{platform}` | `terminal.env` | **Tabs & Panels** | ...
rust_dataset_chunk_509898
rust_dataset.txt
509,898
512
project_panel.git_status` | | `git.blame.editorDecoration.enabled` | `git.inline_blame.enabled` | **Window & Behavior** | VS Code Setting | Zed Setting | | ------------------------------------------------ | -----------------------------...
rust_dataset_chunk_509899
rust_dataset.txt
509,899
512
` (`Ctrl+O` on Linux) to open a folder. By default, new folders open in the current window's threads sidebar, letting you work on multiple projects without juggling windows. See [Windows & Projects](../windows-and-projects.md) for details on managing multiple projects and opening in new windows. To start a new project...