@@ -119,9 +119,6 @@ impl LanguageServer for Backend {
119119
120120 async fn did_save ( & self , params : DidSaveTextDocumentParams ) {
121121 let uri = params. text_document . uri . to_string ( ) ;
122- self . client
123- . log_message ( MessageType :: INFO , format ! ( "abcd :{} " , uri) )
124- . await ;
125122 if let Some ( ( _, service) ) = self . get_workspace_for_file ( & uri) . await {
126123 let message = format ! ( "File saved: {}" , uri) ;
127124 self . client . log_message ( MessageType :: INFO , message) . await ;
@@ -156,10 +153,6 @@ impl LanguageServer for Backend {
156153 & self ,
157154 params : ExecuteCommandParams ,
158155 ) -> tower_lsp:: jsonrpc:: Result < Option < Value > > {
159- self . client
160- . show_message ( MessageType :: INFO , "run command" )
161- . await ;
162-
163156 if params. command == "openProjectsWeb" {
164157 if let Some ( project) = params. arguments . first ( ) . and_then ( |arg| arg. as_str ( ) ) {
165158 if let Some ( ( _, v) ) = self . workspace_folders . lock ( ) . await . get ( Path :: new ( project) ) {
@@ -367,7 +360,7 @@ impl Backend {
367360
368361 async fn update_file ( & self , uri : & str , service : & LspFileService , saved : bool ) {
369362 self . client
370- . log_message ( MessageType :: INFO , format ! ( "Uri updated: {}" , uri) )
363+ . log_message ( MessageType :: INFO , format ! ( "File updated: {}" , uri) )
371364 . await ;
372365 let abs = uri. strip_prefix ( "file://" ) . unwrap_or ( uri) ;
373366 let rel = abs
@@ -378,9 +371,6 @@ impl Backend {
378371 }
379372
380373 async fn call_custom_function ( & self , workspace : & PathBuf , file_path : & Path , saved : bool ) {
381- self . client
382- . log_message ( MessageType :: INFO , format ! ( "{}" , self . eager) )
383- . await ;
384374 if !self . eager && !saved {
385375 return ;
386376 }
0 commit comments