.. ******************************************************************************* * MetaFactory.io R2 * Technical Documentation * * File name : Configure-IntelliJ-Plugin.rst * Created by : MetaFactory (Marnix) * Last update : 26-03-2021 * Updated by : Niels de Nies * * MetaFactory BV Amsterdam ******************************************************************************* .. include:: /external-links.txt .. include:: /inline-images.txt Installing and configuring IntelliJ IDEA plugin ----------------------------------------------- The first prerequisite to using the plugin is to have the MetaFactory application installed as well as a licence for it (which you can try out for free). |Eye M| :ref:`QuickStart ` will guide you through this process. Assuming that you’ve completed all these steps we’ll be ready to go use the plugin after just the few following steps: #. The plugin comes with the MetaFactory installation that you have received at this point. #. Now go to the IntelliJ ‘Settings’ (under ‘File’) and #. go to the plugins tab, #. click ‘install plugin from disk’ and navigate to the zip file. This will install the plugin and you will have to restart IntelliJ to start using it. #. Some configuration is required: #. Go to the ‘Tools’ menu –> MetaFactory –> Configure MetaFactory Library. Now use the navigator to point to the folder of the MetaFactory installation. ‘Schemas and Templates’ which is located in the same Tools menu now also points to this location. #. Go to ‘Project Structure under the ‘File’ menu, view the ‘Modules’ tab Make sure that your directory of patterns is present as a module. If not, add it. #. Go to the context menu of your pattern directory and set it as source root if it isn’t already. Now you should be able to see the MetaFactory tool window and if not you can turn it on under ‘View –> Tool Windows’. .. figure:: images/MF-intellij-screen.jpg :name: IntelliJScreen :scale: 100% |Check M| **Done!** From within the tool window you are able to generate your entire project, or a subset of it by first selecting a builtSet. All the logs that would normally be in the MetaFactory console can now be viewed from the IDEA run window. That’s it. |Exclam L| Enjoy the now even faster coding with MetaFactory!