mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-04 05:35:55 +00:00 
			
		
		
		
	Add a new and improved syntax tree viewer
This commit is contained in:
		
							parent
							
								
									c0eaff7dd1
								
							
						
					
					
						commit
						5ffe45d8cd
					
				
					 14 changed files with 759 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,9 @@ export const runFlycheck = new lc.NotificationType<{
 | 
			
		|||
export const syntaxTree = new lc.RequestType<SyntaxTreeParams, string, void>(
 | 
			
		||||
    "rust-analyzer/syntaxTree",
 | 
			
		||||
);
 | 
			
		||||
export const viewSyntaxTree = new lc.RequestType<ViewSyntaxTreeParams, string, void>(
 | 
			
		||||
    "rust-analyzer/viewSyntaxTree",
 | 
			
		||||
);
 | 
			
		||||
export const viewCrateGraph = new lc.RequestType<ViewCrateGraphParams, string, void>(
 | 
			
		||||
    "rust-analyzer/viewCrateGraph",
 | 
			
		||||
);
 | 
			
		||||
| 
						 | 
				
			
			@ -157,6 +160,7 @@ export type SyntaxTreeParams = {
 | 
			
		|||
    textDocument: lc.TextDocumentIdentifier;
 | 
			
		||||
    range: lc.Range | null;
 | 
			
		||||
};
 | 
			
		||||
export type ViewSyntaxTreeParams = { textDocument: lc.TextDocumentIdentifier };
 | 
			
		||||
export type ViewCrateGraphParams = { full: boolean };
 | 
			
		||||
export type ViewItemTreeParams = { textDocument: lc.TextDocumentIdentifier };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue