This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +1995
-94
lines changed Expand file tree Collapse file tree 4 files changed +1995
-94
lines changed Original file line number Diff line number Diff line change @@ -41,5 +41,23 @@ This will spit out language server message logging into the atom console. Check
41
41
## RLS
42
42
RLS is no longer supported. To use RLS install a previous version of ide-rust,
` apm install [email protected] ` .
43
43
44
+ ## Screenshots
45
+ ** Autocomplete** :
46
+
47
+ ![ Autocomplete image] ( https://user-images.githubusercontent.com/16418197/121962919-01114c80-cd2f-11eb-8136-11ba82ebe543.png )
48
+
49
+ ** Datatips** :
50
+
51
+ ![ Datatips image] ( https://user-images.githubusercontent.com/16418197/121962751-c7404600-cd2e-11eb-84dd-eff95743a0d3.png )
52
+
53
+ ** Linter** :
54
+
55
+ ![ Linter image] ( https://user-images.githubusercontent.com/16418197/121962803-d7582580-cd2e-11eb-9742-040b78ca75d2.png )
56
+
57
+ ** Outline** :
58
+
59
+ ![ Outline image] ( https://user-images.githubusercontent.com/16418197/121962765-cd362700-cd2e-11eb-92b2-74516cd734db.png )
60
+
61
+
44
62
## License
45
63
MIT License. See the [ license] ( LICENSE ) for more details.
Original file line number Diff line number Diff line change @@ -393,11 +393,11 @@ class RustLanguageClient extends AutoLanguageClient {
393
393
}
394
394
}
395
395
396
- activate ( ) {
396
+ async activate ( ) {
397
397
super . activate ( )
398
398
399
399
// Get required dependencies
400
- require ( "atom-package-deps" ) . install ( "ide-rust" )
400
+ await ( require ( "atom-package-deps" ) . install ( "ide-rust" ) )
401
401
402
402
// // Watch rls.toml file changes -> update rls
403
403
// this.disposables.add(atom.project.onDidChangeFiles(events => {
@@ -480,14 +480,7 @@ class RustLanguageClient extends AutoLanguageClient {
480
480
}
481
481
482
482
// Killing servers is faster and less likely to get stuck, but let's see if rust-analyzer deserves grace...
483
- shutdownServersGracefully ( ) {
484
- return true
485
- }
486
-
487
- // Can click through to out-of-project files.
488
- serversSupportDefinitionDestinations ( ) {
489
- return true
490
- }
483
+ shutdownGracefully = true
491
484
492
485
async startServerProcess ( projectPath ) {
493
486
if ( shouldIgnoreProjectPath ( projectPath ) ) {
You can’t perform that action at this time.
0 commit comments