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.
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.
- Open the project in IntelliJ IDEA.
- In the project files tree, right-click on the root folder and choose New → Directory.
- Enter CalculationLogic (exactly the same) as a name and press 'OK'.
- Select all your logics and drag them to this new CalculationLogic subfolder.
- Commit the changes in GIT.
Upgrade IDEA plugin
- In the IntelliJ IDEA Windows version, click 'File' and select 'Settings'. In the Mac version, click 'IntelliJ IDEA' and select 'Preferences'.
- Open the Plugins tab.
- Search for pricefx to find the plugin named pricefx-logic-manager-idea and click Uninstall.
- Click the Browse Repositories button.
- Click the Manage Repositories button.
- Select the repository URL and click the 'minus' button.
- 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. - In the list of plugins, search for pricefx to find the plugin named pricefx-studio-idea.
- Select it and click 'Install'.
- Restart IDEA (as asked by the system).
Update project libraries - after the plugin upgrade
Apply the latest documentation and auto-completion in your existing projects:
- Open the project in IntelliJ IDEA.
- In project files tree, right-click on the root folder and choose 'Open Module Setting'.
- Click 'Libraries', select all in the middle and remove them using 'minus' button.
- Press OK to close the Project Structure dialog.
- In project files tree, right-click on the root folder and choose 'Add Framework support...'.
- Select 'Price f(x)' and press 'OK' to close the dialog.
This change should not have impact on your team members either, since .idea subfolder is usually set to be ignored by GIT.
This step is recommended to be performed after every upgrade of the plugin.