File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ use crate::{
45
45
46
46
pub ( crate ) fn handle_workspace_reload ( state : & mut GlobalState , _: ( ) ) -> Result < ( ) > {
47
47
state. proc_macro_client = None ;
48
+ state. proc_macro_changed = false ;
48
49
state. fetch_workspaces_queue . request_op ( "reload workspace request" . to_string ( ) ) ;
49
50
state. fetch_build_data_queue . request_op ( "reload workspace request" . to_string ( ) ) ;
50
51
Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ impl GlobalState {
162
162
}
163
163
164
164
pub ( crate ) fn fetch_build_data ( & mut self , cause : Cause ) {
165
- tracing:: debug !( %cause, "will fetch build data" ) ;
165
+ tracing:: info !( %cause, "will fetch build data" ) ;
166
166
let workspaces = Arc :: clone ( & self . workspaces ) ;
167
167
let config = self . config . cargo ( ) ;
168
168
self . task_pool . handle . spawn_with_sender ( move |sender| {
Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ export class Ctx {
77
77
}
78
78
79
79
setServerStatus ( status : ServerStatusParams ) {
80
- this . statusBar . tooltip = status . message ?? "Ready" ;
81
80
let icon = "" ;
82
81
switch ( status . health ) {
83
82
case "ok" :
83
+ this . statusBar . tooltip = status . message ?? "Ready" ;
84
84
this . statusBar . command = undefined ;
85
85
this . statusBar . color = undefined ;
86
86
this . statusBar . backgroundColor = undefined ;
@@ -105,7 +105,7 @@ export class Ctx {
105
105
break ;
106
106
}
107
107
if ( ! status . quiescent ) icon = "$(sync~spin) " ;
108
- this . statusBar . text = `${ icon } rust-analyzer` ;
108
+ this . statusBar . text = `${ icon } rust-analyzer` ;
109
109
}
110
110
111
111
pushCleanup ( d : Disposable ) {
You can’t perform that action at this time.
0 commit comments