Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #194 from aminya/update
Browse files Browse the repository at this point in the history
Update atom-ide-rust
  • Loading branch information
Manishearth committed Jun 18, 2021
2 parents 035656b + 9573f8d commit b489fa2
Show file tree
Hide file tree
Showing 4 changed files with 1,993 additions and 92 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,23 @@ This will spit out language server message logging into the atom console. Check
## RLS
RLS is no longer supported. To use RLS install a previous version of ide-rust, `apm install [email protected]`.

## Screenshots
**Autocomplete**:

![Autocomplete image](https://user-images.githubusercontent.com/16418197/121962919-01114c80-cd2f-11eb-8136-11ba82ebe543.png)

**Datatips**:

![Datatips image](https://user-images.githubusercontent.com/16418197/121962751-c7404600-cd2e-11eb-84dd-eff95743a0d3.png)

**Linter**:

![Linter image](https://user-images.githubusercontent.com/16418197/121962803-d7582580-cd2e-11eb-9742-040b78ca75d2.png)

**Outline**:

![Outline image](https://user-images.githubusercontent.com/16418197/121962765-cd362700-cd2e-11eb-92b2-74516cd734db.png)


## License
MIT License. See the [license](LICENSE) for more details.
13 changes: 3 additions & 10 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,11 @@ class RustLanguageClient extends AutoLanguageClient {
}
}

activate() {
async activate() {
super.activate()

// Get required dependencies
require("atom-package-deps").install("ide-rust")
await (require("atom-package-deps").install("ide-rust"))

// // Watch rls.toml file changes -> update rls
// this.disposables.add(atom.project.onDidChangeFiles(events => {
Expand Down Expand Up @@ -506,14 +506,7 @@ class RustLanguageClient extends AutoLanguageClient {
}

// Killing servers is faster and less likely to get stuck, but let's see if rust-analyzer deserves grace...
shutdownServersGracefully() {
return true
}

// Can click through to out-of-project files.
serversSupportDefinitionDestinations() {
return true
}
shutdownGracefully = true

async startServerProcess(projectPath) {
if (shouldIgnoreProjectPath(projectPath)) {
Expand Down
Loading

0 comments on commit b489fa2

Please sign in to comment.