diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 66 |
1 files changed, 65 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index acf3ca4b5..75dbafc05 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -694,6 +694,70 @@ | |||
694 | ] | 694 | ] |
695 | } | 695 | } |
696 | } | 696 | } |
697 | ] | 697 | ], |
698 | "menus": { | ||
699 | "commandPalette": [ | ||
700 | { | ||
701 | "command": "rust-analyzer.syntaxTree", | ||
702 | "when": "inRustProject" | ||
703 | }, | ||
704 | { | ||
705 | "command": "rust-analyzer.expandMacro", | ||
706 | "when": "inRustProject" | ||
707 | }, | ||
708 | { | ||
709 | "command": "rust-analyzer.matchingBrace", | ||
710 | "when": "inRustProject" | ||
711 | }, | ||
712 | { | ||
713 | "command": "rust-analyzer.parentModule", | ||
714 | "when": "inRustProject" | ||
715 | }, | ||
716 | { | ||
717 | "command": "rust-analyzer.joinLines", | ||
718 | "when": "inRustProject" | ||
719 | }, | ||
720 | { | ||
721 | "command": "rust-analyzer.run", | ||
722 | "when": "inRustProject" | ||
723 | }, | ||
724 | { | ||
725 | "command": "rust-analyzer.debug", | ||
726 | "when": "inRustProject" | ||
727 | }, | ||
728 | { | ||
729 | "command": "rust-analyzer.newDebugConfig", | ||
730 | "when": "inRustProject" | ||
731 | }, | ||
732 | { | ||
733 | "command": "rust-analyzer.analyzerStatus", | ||
734 | "when": "inRustProject" | ||
735 | }, | ||
736 | { | ||
737 | "command": "rust-analyzer.collectGarbage", | ||
738 | "when": "inRustProject" | ||
739 | }, | ||
740 | { | ||
741 | "command": "rust-analyzer.reload", | ||
742 | "when": "inRustProject" | ||
743 | }, | ||
744 | { | ||
745 | "command": "rust-analyzer.onEnter", | ||
746 | "when": "inRustProject" | ||
747 | }, | ||
748 | { | ||
749 | "command": "rust-analyzer.ssr", | ||
750 | "when": "inRustProject" | ||
751 | }, | ||
752 | { | ||
753 | "command": "rust-analyzer.serverVersion", | ||
754 | "when": "inRustProject" | ||
755 | }, | ||
756 | { | ||
757 | "command": "rust-analyzer.toggleInlayHints", | ||
758 | "when": "inRustProject" | ||
759 | } | ||
760 | ] | ||
761 | } | ||
698 | } | 762 | } |
699 | } | 763 | } |