Table of Contents |
---|
Because we want to deliver software on As part of our commitment to delivering software at a professional level, we do care about emphasize the importance of code quality. The groovy To evaluate Groovy source code is evaluated by , CodeNarc tool is used. In Pricefx Studio, the code quality evaluation is supported by the CodeNarc plugin that is available in IDEA.
...
If you have not installed CodeNarc yet, navigate to Preferences > Plugins > MarketPlace Marketplace > search for “codenarc” and press click Install. When asked, restart IDEA for the changes to take effect.
...
Add Code Quality Profile
...
to Project
For To ensure code quality, we are using the utilize IDEA's standard inspection functionality built-in IDEA. Due to the unique nature of Pricefx nature, some of the inspections are not relevant and are causing false alerts and some of them we would like to certain inspections can produce false alerts, but other inspections we encourage you to follow. Therefore To align with this, we have disabled some adjusted the inspection rules that are enabled by default and enabled some that are initially disabled and that’s how we created – some defaults are disabled, while others initially disabled are enabled. This approach has led us to create a standard Pricefx code quality profile with that encompasses the best rules we think to follow. most fitting rules.
The profile is copied to IDEA and assigned to the project during the action Add Framework Support: Rightright-click on the root folder > Add Framework Support > check Pricefx > click OK.
Note |
---|
If you don’t have the “Add Framework Support” option in the menu, remove the “Pricefx API” library first: Right click on the root folder > Open Module Settings > Libraries > Pricefx API (last in the list) > click [-] button above to remove this library > OK. |
...