This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree 4 files changed +1993
-92
lines changed
4 files changed +1993
-92
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 @@ -419,11 +419,11 @@ class RustLanguageClient extends AutoLanguageClient {
419
419
}
420
420
}
421
421
422
- activate ( ) {
422
+ async activate ( ) {
423
423
super . activate ( )
424
424
425
425
// Get required dependencies
426
- require ( "atom-package-deps" ) . install ( "ide-rust" )
426
+ await ( require ( "atom-package-deps" ) . install ( "ide-rust" ) )
427
427
428
428
// // Watch rls.toml file changes -> update rls
429
429
// this.disposables.add(atom.project.onDidChangeFiles(events => {
@@ -506,14 +506,7 @@ class RustLanguageClient extends AutoLanguageClient {
506
506
}
507
507
508
508
// Killing servers is faster and less likely to get stuck, but let's see if rust-analyzer deserves grace...
509
- shutdownServersGracefully ( ) {
510
- return true
511
- }
512
-
513
- // Can click through to out-of-project files.
514
- serversSupportDefinitionDestinations ( ) {
515
- return true
516
- }
509
+ shutdownGracefully = true
517
510
518
511
async startServerProcess ( projectPath ) {
519
512
if ( shouldIgnoreProjectPath ( projectPath ) ) {
You can’t perform that action at this time.
0 commit comments