Versions Compared

Key

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

Upgrade projects - before the plugin change

Before you upgrade, it is recommended, that each and every legacy Logic manager project you migrate to Studio project by moving the logics into the CalculationLogic subfolder.

Info

Moving the logics to the CalculationLogic subfolder does not have any impact on your team members who are still working in the legacy Logic manager, since the legacy Logic manager supports that. So you can do that at any point of time.

  1. Open the project in IntelliJ IDEA.
  2. In the project files tree, right-click on the root folder and choose New → Directory.
  3. Enter CalculationLogic (exactly the same) as a name and press 'OK'.
  4. Select all your logics and drag them to this new CalculationLogic subfolder.
  5. Commit the changes in GIT.

Upgrade IDEA plugin

  1. In the IntelliJ IDEA Windows version, click 'File' and select 'Settings'. In the Mac version, click 'IntelliJ IDEA' and select 'Preferences'.
  2. Open the Plugins tab.
  3. Search for pricefx to find the plugin named pricefx-logic-manager-idea and click Uninstall.
  4. Click the Browse Repositories button.
  5. Click the Manage Repositories button.
  6. Select the repository URL and click the 'minus' button.
  7. Click the 'plus' button to add a new custom repository.
    To get the new repository URL, go to this page (registered users only). 
    Optionally, click 'Check now' to see if the URL can be accessed. 
  8. In the list of plugins, search for pricefx to find the plugin named pricefx-studio-idea.
  9. Select it and click 'Install'.
  10. Restart IDEA (as asked by the system).

Upgrade projects

In each and every project you are working with from now, the logics needs to be located in the CalculationLogic subfolder.

  1. Open the project in IntelliJ IDEA.
  2. In the project files tree, right-click on the root folder and choose New → Directory.
  3. Enter CalculationLogic (exactly the same) as a name and press 'OK'.
  4. Select all your logics and drag them to this new CalculationLogic subfolder.
  5. Commit the changes in GIT.

...

Update project libraries - after the plugin upgrade

Apply the latest documentation and auto-completion in your existing projects:

  1. Open the project in IntelliJ IDEA.
  2. In project files tree, right-click on the root folder and choose 'Open Module Setting'.
  3. Click 'Libraries', select all in the middle and remove them using 'minus' button.
  4. Press OK to close the Project Structure dialog.
  5. In project files tree, right-click on the root folder and choose 'Add Framework support...'.
  6. Select 'Price f(x)' and press 'OK' to close the dialog.
Info

This change should not have impact on your team members either, since .idea subfolder is usually set to be ignored by GIT.


Info

This step is recommended to be performed after every upgrade of the plugin.