The General page of the Productivity! Editor Options page provides the following options:
See also: Productivity! Delays Property PageProductivity! contains a number of tools that can cause imports modification:
All these tools share common settings for the import statements modification.
The following options are available for management of import statement modifications:
Import particular class
If this option is turned on, the import statement for the required class will be inserted, however imports consolidation will not be applied.
Import all (*) classes from package
If this option is turned on, all (*) classes from all the packages will be imported and particular imports from the same package will be removed. This option is useful when a large amount of classes from the same package are used.
Import particular class and consolidate packages
If this option is turned on, a particular class will be
imported if the number of imports from the same package does not exceed the
maximum allowed. The maximum amount of classes to be imported without import
statements consolidation is controlled by the "Import maximum N classes from
the same package field.
If the number of imports from the same packages
exceeds the specified limit, all the imports of a particular class from the
required package will be removed and import statement for the whole (*)
package will be inserted instead.
These options allow you to tune the algorithm used for search of items within the Productivity! popup lists.
The following options are available for search control:
Use "startsWith" method
If this option is turned on, all the search operations will be performed for the string with the value of the word at cursor. Otherwise, the search will include the strings that contain the required substring (usually a word at cursor).
Case sensitive
If this option is turned on, the case sensitive search algorithm will be used.
Stop on exact match
If this option is turned on, only classes with the names that exactly match the word at cursor will be shown.
Show additional classes
If the Stop
on exact match option is disabled, you may specify amount
of classes you'd like to see in popup list. Since overall amount of classes
may be quite significant, you may make list of classes less wide.
Note: this option is common for the following Insights: Class.Insight , Browse.Insight, Implement.Insight and Smart.Instantiate
These options allow controlling the sorting of classes for the following Insights: Class.Insight , Browse.Insight, Implement.Insight and Smart.Instantiate.
The following options are available for classes sorting control:
Class name then by package name
If you select this option, the classes will be sorted according to the class name and then class package;
Full-qualified class name
If you select this option, the classes will be sorted according to their full qualified names;
Productivity! allows automatic execution of the Insight primary action when there is only one possible variant found. In this case the action will be performed without the Insight popup window being shown.
See also: Productivity! Delays Property Page