Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you encounter issues while working with the IntelliJ IDEA plugin, please report them. Internal people can report to JIRA in PFAUT project. Partners or customers can raise a ticket to the Support portal. If possible, add a screenshot or attach the IntelliJ IDEA log file to the message. The log file is located at Help > Show Log in Files/Explorer/Finder; idea.log is the current log file.

Table of Contents
maxLevel2
minLevel1
outlinefalse
typelist
printablefalse

...

The Groovy API library must be part of the project, since that it contains pricefx Pricefx interfaces/classes which are used by IDEA for the auto-completion.

  1. Open the project in IntelliJ IDEA.

  2. Open the Maven tool window and click the Reload button. If you don’t see Maven tool window, right click the root folder and select Pricefx > Generate pom.xml.

  3. Click Local Maven Project in the popup that appears.
    This will add Studio: net.pricefx:groovy-api library in External libraries and auto-completion should work from now.

  4. Go to File > Invalidate Caches > , select Clear file system cache and Local history and Clear VCS Log caches and indexes > confirm and click Invalidate and Restart.

Logic 'elements' Folders Must Be Marked as a 'Source' Folder

Did you mark the logic elements directories as source? To do that, open the Maven tool window and click the Reload button. If you don’t see Maven tool window, right click the root folder and select Pricefx > Generate pom.xml. Click Local Maven Project in the popup that appears.Image Removed

...

Auto-Completion Works in General, but Not for Some Classes

Does If the auto-completion does not work when for Filter ? Do or if you you have an element called "Filter" in one of your logics? Try to give it another name , rename it as described in Naming Conventions. Alternatively explicitely explicitly add import com.googlecode.genericdao.search.Filter.

How to

...

Ensure Studio

...

Uses the

...

Latest Groovy API?

Each Studio version is bundled with a certain version the of Groovy API. Make sure you are using the latest Studio to have the latest Groovy API. FollowFor details see Upgrade Studio Project Libraries.

Cannot Upgrade Studio

If you have not switched to JetBrains MarketPlace yet, follow these steps: https://pricefx.atlassian.net/wiki/spaces/KB/pages/1679196175/Install+Studio#Remove/Reinstall-Plugin.

PKIX Path Building Failed: SunCertPathBuilderException

...

If IntelliJ IDEA is behaving strangely, the last chance is to remove the project related config files:

  1. Invalidate caches: To invalidate caches, go to File > Invalidate Cache / Restart > Clear file system cache and Local History and Clear VCS Log caches and indexes > and confirm Invalidate and Restart.

  2. Close IDEA.

  3. In the MacOS, delete IDEA config files of the project:

    • Browse to the project folder.

    • Find the .iml file in the project root and delete it.

    • Find the .idea folder in the project root and delete it.

  4. Reopen the project in IDEA.

...