From 077592a12fd982de3e69572a4c738dd4468617f9 Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Mon, 28 Dec 2020 18:29:58 +0000 Subject: Initial implementation of view-hir command --- editors/code/package.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index 13749a084..4bae5d647 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -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" -- cgit v1.2.3