IDE integration

Eclipse
intelliJ IDEA


Here we describe how you can integrate ploinFaces with your IDE to get an autosuggestion/autocomplete for the ploinFlows.xml.

Eclipse

If your ploinFlows.xml file starts with the following lines of code eclipse offer you out of the box autosuggestion.

<flows xmlns="http://www.ploinfaces.org/schema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.ploinfaces.org/schema http://www.ploinfaces.org/schema/ploinFlows.xml.xsd">
            

ploinFaces eclipse integration

intelliJ IDEA

In IDEA you will perhaps see something like this.

ploinFaces IDEA integration

In this case you should donwload the xml schema manualy and put it in your root src folder. You can download the xml schema here. The schema is also included in the ploinFaces.jar file. You should place it in the same directory where your ploinFlows.xml is placed.
After you have placed the schema in the right directory you have to configure IDEA.

ploinFaces IDEA integration

Here you can add a mapping for the namespace. Just type in the path to the xml schema.

ploinFaces IDEA integration

After this two steps you have the same autosuggestion like in eclipse.

ploinFaces IDEA integration