Initial implementation of view-hir command

This commit is contained in:
Phil Ellison
2020-12-28 18:29:58 +00:00
parent 1d530756ed
commit 077592a12f
10 changed files with 145 additions and 1 deletions

View File

@@ -103,6 +103,11 @@
"title": "Show Syntax Tree",
"category": "Rust Analyzer"
},
{
"command": "rust-analyzer.viewHir",
"title": "View Hir",
"category": "Rust Analyzer"
},
{
"command": "rust-analyzer.expandMacro",
"title": "Expand macro recursively",
@@ -998,6 +1003,10 @@
"command": "rust-analyzer.syntaxTree",
"when": "inRustProject"
},
{
"command": "rust-analyzer.viewHir",
"when": "inRustProject"
},
{
"command": "rust-analyzer.expandMacro",
"when": "inRustProject"