This repo contains the sources for the Neat Form IntelliJ IDEA Plugin.
The Neat Form Plugin is an IntelliJ IDEA & Android Studio plugin that adds auto-completion & error-checking when writing Neat Form JSON forms to run with https://github.com/ellykits/NeatForm on your IDE
The plugin:
- Checks for errors in rule file references - makes sure the declared rules file exists
- Checks for error in field references - makes sure the declared widget exists
- Provides autocomplete for field references - assists you with possible options when references a field by the id
- Provides auto-complete & live-template for form-structure, widgets & specific properties eg.
- widget
- form
- properties property
- property names
- Checks for errors when the widget id has already been used as the id for another widget
- Checks the general structure of the neat json form to ensure the following:
- Required properties have been declared
- Property value are within the expected format → numbers, alphanumeric, a range of values, enum value (one of possible values)
-
Check the latest plugin in releases here
-
Download the jar with the title Neat.Form.Plugin-x.x.x-plain-json-ext-support.zip eg. https://github.com/Kigamba/Neat-Form-Plugin/releases/download/v0.3.0/Neat.Form.Plugin-0.3.0-plain-json-ext-support.zip
-
Open your IDE
-
Go to Settings as show below
-
Click on Settings > Plugins as show below
-
Click on the gear icon next to the Installed tab on the window that shows as shown below
-
Click on the Install Plugin From Disk option from the drop-down menu that appears
-
Select the jar that you downloaded in step 2 when the following dialog shows
-
Activate the plugin, restart the IDE & you should be good to go. The following is expected once it's installed
PS: Don't worry about the short description. 😄 You are invited to contribute to the plugin
Go to the wiki here for more on this
Coming soon....