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
maxLevel1

...

Did you mark the logic elements directories as 'Source' source?

Pricefx Framework must be added to the project

Have you added the Pricefx Framework support? You should Upgrade Studio Project Libraries when a major Studio or Pricefx versions are released.

Re-activate GDSL

...

Script Execution Once It Crashes

GDSL is IntelliJ's native DSL Groovy-based language for defining additional auto-completion rules. Sometimes the GDSL execution crashes (typically when switching branches) and then IntelliJ IDEA stops the auto-completion for all projects.

When this happens, navigate to External Libraries > Pricefx API > logic-core.jar > PFXIdeaPublicGroovyAPI.gdsl in the project tree. If the auto-completion has crashed, then a yellow popup with the 'Activate back' button appears. Note that it may take couple of seconds to appear. Once you click Activate backthe button, the auto-completion is enabled again.

...

After re-activation, you can also purge the IntelliJ cache: File > Invalidate Caches / Restart > Invalidate and Restart. This forces IntelliJ IDEA to rebuild caches for the API documentation.

Make Logic Element Names Unique

In case, when It can happen that auto-completion does not work for referring elements within the same logic

...

or in 'libs' (resp. legacy 'lib').

If you have two elements of the same name in the project, IntelliJ IDEA does not know which Class (remember, that each Logic Element each logic element is turned into a Class) should be evaluated.

Solution The solution is , to avoid having elements of the same name in the same project. You can, for example:

  • for For library logics - add a suffix "Utils" to the names of the Groovy library elements.

  • for For other logics:

    • rename Rename the elements, if possible and reasonable.

    • temporarily Temporarily move the logics with conflicting element names (which you’re not working on , and are stored safely in Git) out of the project, so that they do not interfere with the logics , which you need to work on.

Auto-Completion Works in General, but Not for “Filter” Class

...

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

  1. Invalidate caches: File  File > Invalidate Cache / Restart > Clear file system cache and Local History.

  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.

Code Reference Info: 
https://www.jetbrains.com/help/idea/viewing-reference-information.html

...

Install Older Version of IntelliJ IDEA

See Verify in the Pricefx Studio Release Notes (Studio), to ensure, that you’re using that you use a supported IntelliJ IDEA version.

Note , that Pricefx Studio has been known to have some issues with IntelliJ 2021.3, so try installing 2021.2 or another version and see if that fixes the issue.

...