AI Assisted Development
AI Assisted Development helps the developers in scanning the project for unused skins, resources, and widgets before building an application. The AI Assisted Development also helps you to analyze the project for increasing the performance by checking if heavy widgets like RichText can be replaced with light widgets like Label.
Using the AI Assisted Development, you can:
- Optimize the size of the project
- Reduces the build time
- Increases the performance of the application
NOTE: The AI Assisted Development feature is not available for apps that use the Micro App Architecture.
Here are the topics associated with AI Assisted Development:
Analyze and fix your project
To start scanning your project, follow these steps:
- Open the project you want to analyze in Quantum Visualizer.
- From the main menu, navigate to Help > AI Assisted Development.
You can view the following options:- All
- Best Practices
- Performance
- Style Guide
These are the different categories of rules that can be used to analyze your project.
- Select one of the options.
The AI Assisted Development window appears with a table of the rules.NOTE: You can also run AI Assisted Development from Quantum IQ. To do so, type a command such as
Run AI Assisted Development
in the Quantum IQ chat window. - From the left- side of the table , select a rule to analyze your project.
For example, Remove Unused Skins.
For more information on the different rules and the rule categories, click here. - Click Analyze.
The Analysis Report appears.
This report displays the unused items beside the respective rules - Click on the respective rule to view the details of the unused item.
- Select the item you want to delete from your project.
- Click Fix Errors. This will delete the items permanently from your project.
NOTE: This is an irreversible step. You cannot recover the deleted item after this step.
Add Exceptions while analyzing your project
To add any resources, skins, or widgets as an exception while analyzing the a project, follow these steps.
- In Quantum Visualizer, open your project.
- From the main menu, navigate to Help > AI Assisted Development and select the rule categories, say Best Practices.
The AI Assisted Development window appears. - Click Settings.
The Rules Whitelist window appears displaying a table with two columns: Rules and Value.
You can also access the Rules Whitelist window from the Project Settings. In the Project Settings window, from the left pane select AI Assistant. - Click + to add the exception.
A new row is added to the table. - Under the column Rules, select the rule for which you are adding the exception.
- Under the column Value, provide the name of the resource, skin or widget that must not be analyzed.
For example, if a rule name is Remove Unused Skins with the value formSkin, when you run the analysis for unused skins, the formSkin will be ignored from the analysis.
Rules and Rule Categories
The following table shows the rules that you can apply to your project and the rule categories .