aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2021-08-18 16:43:43 +0200
committerEike Ziller <[email protected]>2021-08-18 14:46:06 +0000
commit3425b38d4418b5c227d4c76bf11dc3abbd793ae3 (patch)
treee0c5c2731629d85baa2d69154e1ccb20ff2d3d84 /plugins/haskell/haskellplugin.cpp
parent91e0e3b5fb8b6cb40b2368ec16fde5442c73a473 (diff)
Add simple wizard for creating a Haskell source/module file
Change-Id: Ieae69f981747af4fbf36919abc9604d8e190f207 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'plugins/haskell/haskellplugin.cpp')
-rw-r--r--plugins/haskell/haskellplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/haskell/haskellplugin.cpp b/plugins/haskell/haskellplugin.cpp
index 843a524..e917116 100644
--- a/plugins/haskell/haskellplugin.cpp
+++ b/plugins/haskell/haskellplugin.cpp
@@ -38,6 +38,7 @@
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/icore.h>
#include <projectexplorer/projectmanager.h>
+#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
#include <texteditor/snippets/snippetprovider.h>
#include <QAction>
@@ -89,6 +90,8 @@ bool HaskellPlugin::initialize(const QStringList &arguments, QString *errorStrin
registerGhciAction();
HaskellManager::readSettings(Core::ICore::settings());
+
+ ProjectExplorer::JsonWizardFactory::addWizardPath(":/haskell/share/wizards/");
return true;
}