Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 40 Next »

If you encounter issues while working with the IDEA plugin, please report them to Jira in PFAUT project. Partners or customers can raise a ticket to the Support portal. If possible, add a screenshot or attach the 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.

Why Auto-completion Is Not Working?

Logic 'elements' folders must be marked as a 'Source' folder

Did you mark the logic elements directories as '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 PFX 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. We do not know why but sometimes the GDSL execution crashes (typically when switching branches) and then IDEA stops the auto-completion for all projects. Once 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 back', the auto-completion is enabled again.

After clicking 'Activate Back', you can also purge the IntelliJ cache: File > Invalidate Caches / Restart > Invalidate and Restart. This should force IntelliJ to rebuild caches for the API documentation.

Element names not unique

For cases when auto-completion does not work for referring elements either within the same logic or in 'libs' (resp. legacy 'lib'): if you use two elements of the same name in the project, IDEA does not know which Class should be evaluated. Avoid having elements of the same name, so e.g. add a suffix "Utils" to the names of the Groovy library elements.

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

Do you have element called "Filter" in one of your logics? Try to give it another name as described in Naming Conventions.

IntelliJ IDEA General Troubleshooting

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

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

  2. Close IDEA.

  3. In the OS, 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

Try Installing an older version of IntelliJ IDEA

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 your issue.


Older versions:

https://www.jetbrains.com/idea/download/other.html


  • No labels