allow opening package.json project

This commit is contained in:
Vadim Lopatin 2015-01-27 22:13:22 +03:00
parent a32aac9561
commit c0fd1b4c0c
1 changed files with 1 additions and 1 deletions

View File

@ -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;