OptimiseCompany[(Module: String, AllFiles:Boolean)]: Number
Optimise Company function performs optimisation on the company. If Module is specified, the module is optimised, otherwise all modules are optimised. If All Files is True, all files will be optimised, otherwise only recommended files are optimised. Returns a number showing the combined number of Errors and Warnings returned. If any errors occur, they are displayed in the Print stream, and sent to the Log.
OptimiseCompany function syntax has these named arguments:
Parameter |
Description |
|---|---|
Module |
Optional. The name of the module to be optimised. If Module is not passed, all modules are optimised. |
All Files |
Optional. When set to True, all files are optimised. When set to False, only recommended files are optimised. Defaults to False. |