{"id":13620728,"url":"https://github.com/rust-lang/atom-ide-rust","last_synced_at":"2025-10-04T01:31:32.798Z","repository":{"id":33593024,"uuid":"97884728","full_name":"rust-lang/atom-ide-rust","owner":"rust-lang","description":"Rust IDE support for Atom, powered by the Rust Analyzer or Rust Language Server","archived":true,"fork":false,"pushed_at":"2023-10-17T06:12:07.000Z","size":640,"stargazers_count":259,"open_issues_count":18,"forks_count":42,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-09-29T21:04:23.105Z","etag":null,"topics":["atom","atom-ide","ide","rls","rust"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-20T22:56:51.000Z","updated_at":"2024-04-24T15:31:23.000Z","dependencies_parsed_at":"2024-08-01T21:54:02.510Z","dependency_job_id":null,"html_url":"https://github.com/rust-lang/atom-ide-rust","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fatom-ide-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fatom-ide-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fatom-ide-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Fatom-ide-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/atom-ide-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235208944,"owners_count":18953003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atom","atom-ide","ide","rls","rust"],"created_at":"2024-08-01T21:00:58.868Z","updated_at":"2025-10-04T01:31:27.423Z","avatar_url":"https://github.com/rust-lang.png","language":"JavaScript","funding_links":[],"categories":["Development tools","开发工具 Development tools"],"sub_categories":["IDEs","编译器 IDEs"],"readme":"# IDE-Rust\n\nRust language support for Atom-IDE, powered by [rust-analyzer](https://github.com/rust-analyzer/rust-analyzer).\n\n## Features\n\n- Auto-completion\n- Diagnostics (errors and warnings from `rustc`)\n- Document outline\n- Go to definition (`ctrl` or `cmd` click)\n- Type information and Documentation on hover (hold `ctrl` or `cmd` for more information)\n- Find references (`ctrl-alt-shift-f` or `cmd-opt-shift-f` also in context menu)\n- Format file with rustfmt (`ctrl-shift-c` or `cmd-shift-c` also in context menu)\n- Format on save (disabled by default, see `atom-ide-ui` settings)\n- Rustup toolchain update checking at startup \u0026 every 6 hours thereafter\n- Supports rustup override toolchains\n- Rust language snippets\n\n## Install\n\nInstall from Settings view by searching for `ide-rust`, or with the command line:\n\n```\n$ apm install ide-rust\n```\n\n### Prerequisites\n\n**rust-analyzer** must be installed manually, if possible on the PATH _(otherwise configure this in the package settings)_.\nSee https://rust-analyzer.github.io/manual.html#rust-analyzer-language-server-binary.\n\nNOTE: On Windows, you can install it using [choco](https://chocolatey.org/install): `choco install rust-analyzer`\n\nNo other packages or manual setup is required as these will be handled with user prompts after install.\nHowever, you may wish to install `rustup` with your OS package manager instead of following prompts to install via [rustup.rs](https://rustup.rs).\n\n## Configure rust-analyzer\n\n**rust-analyzer** settings can be stored in a JSON file in the project directory.\n\nIt first looks for `rust-analyzer.json`.\nIf the file does not exists, it then checks `.config/rust-analyzer.json`.\n\nRefer to the rust-analyzer [User Manual](https://rust-analyzer.github.io/manual.html#configuration) for the supported config options.\n\n### Examples\n\n#### enable proc-macro support (from the [User Manual](https://rust-analyzer.github.io/manual.html#configuration))\n\n```json\n{\n    \"cargo\": {\n        \"loadOutDirsFromCheck\": true,\n    },\n    \"procMacro\": {\n        \"enable\": true,\n    }\n}\n```\n\n#### configure rust-fmt\n\n```json\n{\n    \"rustfmt\": {\n        \"extraArgs\": [\"+nightly\"]\n    }\n}\n```\n\n## Commands\n\n- `ide-rust:restart-all-language-servers` Restart all currently active Rls processes\n\n## Debugging IDE-Rust\n\nIf stuff isn't working you can try **enabling logging** to debug:\n\n- Open the atom console _(ctrl-shift-i)_\n- Enter `atom.config.set('core.debugLSP', true)`\n- Reload atom _(ctrl-shift-F5)_\n\nThis will spit out language server message logging into the atom console. Check if requests/responses are being sent or are incorrect.\n\n## RLS\n\nRLS is no longer supported. To use RLS install a previous version of ide-rust, `apm install ide-rust@0.21.2`.\n\n## Screenshots\n\n**Autocomplete**:\n\n![Autocomplete image](https://user-images.githubusercontent.com/16418197/121962919-01114c80-cd2f-11eb-8136-11ba82ebe543.png)\n\n**Datatips**:\n\n![Datatips image](https://user-images.githubusercontent.com/16418197/121962751-c7404600-cd2e-11eb-84dd-eff95743a0d3.png)\n\n**Linter**:\n\n![Linter image](https://user-images.githubusercontent.com/16418197/121962803-d7582580-cd2e-11eb-9742-040b78ca75d2.png)\n\n**Outline**:\n\n![Outline image](https://user-images.githubusercontent.com/16418197/121962765-cd362700-cd2e-11eb-92b2-74516cd734db.png)\n\n## License\n\nMIT License. See the [license](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fatom-ide-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Fatom-ide-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Fatom-ide-rust/lists"}