Go to Dynamics 365 Options
Set Projects Options – organize project by element type
Set Text Editor Options – Line number and word wrap
Set Best practice options
The definition of best practice rules set is per model, by default it is set to Application Common model and can be switched between different models from the combo box in the upper right corner.
Let’s say if you are working with Customization Analysis you have to check Microsoft.Dynamics.AX.Framework.CustomizationAnalysisRules best practice rule.
Set BP rules at Build level
Build process itself does BP checking – there is an option to enable it. To take this into effect you might have to rebuild the solution/project rather build it.