mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	Set the default status bar action to openLogs
Previously, clicking 'rust-analyzer' would stop the server entirely. This was easy to do accidentally, and then the user has to wait for the server to start up again.
This commit is contained in:
		
							parent
							
								
									c59bd2dc3f
								
							
						
					
					
						commit
						1e76b11a20
					
				@ -414,7 +414,7 @@ export class Ctx {
 | 
				
			|||||||
                statusBar.tooltip.appendText(status.message ?? "Ready");
 | 
					                statusBar.tooltip.appendText(status.message ?? "Ready");
 | 
				
			||||||
                statusBar.color = undefined;
 | 
					                statusBar.color = undefined;
 | 
				
			||||||
                statusBar.backgroundColor = undefined;
 | 
					                statusBar.backgroundColor = undefined;
 | 
				
			||||||
                statusBar.command = "rust-analyzer.stopServer";
 | 
					                statusBar.command = "rust-analyzer.openLogs";
 | 
				
			||||||
                this.dependencies?.refresh();
 | 
					                this.dependencies?.refresh();
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            case "warning":
 | 
					            case "warning":
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user