From c0fd1b4c0c04bac15db4e2ef443fd00857fef015 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Tue, 27 Jan 2015 22:13:22 +0300 Subject: [PATCH] allow opening package.json project --- src/dlangide/ui/frame.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 4f2cd65..dc1c281 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -367,7 +367,7 @@ class IDEFrame : AppFrame { UIString caption; caption = "Open Workspace or Project"d; FileDialog dlg = new FileDialog(caption, window, null); - dlg.addFilter(FileFilterEntry(UIString("Workspace and project files"d), "*.dlangidews;dub.json")); + dlg.addFilter(FileFilterEntry(UIString("Workspace and project files"d), "*.dlangidews;dub.json;package.json")); dlg.onDialogResult = delegate(Dialog dlg, const Action result) { if (result.id == ACTION_OPEN.id) { string filename = result.stringParam;