瀏覽代碼

[hide] Added "Find References" to FileView tab header

Clément Espeute 11 月之前
父節點
當前提交
298835e194
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/view/FileView.hx

+ 1 - 0
hide/view/FileView.hx

@@ -220,6 +220,7 @@ class FileView extends hide.ui.View<{ path : String }> {
 				{ label : "Open in Resources", enabled : hasPath, click : function() {
 					ide.showFileInResources(state.path);
 				}},
+				{ label : "Find References", enabled : hasPath, click : () -> Ide.inst.findPathRefs(state.path)},
 				{ label : null, isSeparator : true },
 			];
 		}