Skip to main content

CodeCompletionRequestManager.UseLocalEngine() Method

Activates the local code completion engine and stores report layouts in memory.

Namespace: DevExpress.XtraReports.CodeCompletion

Assembly: DevExpress.XtraReports.v24.1.CodeCompletion.dll

NuGet Package: DevExpress.Reporting.CodeCompletion

Declaration

public static void UseLocalEngine()

Remarks

Intelligent code completion requires connection to the Internet and supports only .NET Framework and DevExpress libraries deployed with the application.

For End-User Report Designers, you can activate the local code completion engine that works without an Internet connection and additionally supports types defined in custom assemblies. Install the DevExpress.Reporting.CodeCompletion NuGet package and call the UseLocalEngine method at the application startup.

DevExpress.XtraReports.CodeCompletion.CodeCompletionRequestManager.UseLocalEngine();

This method registers an in-memory storage (InMemoryCodeCompletionContextStorage) for report layouts.

You can also use another UseLocalEngine(ICodeCompletionContextStorage) method overload that accepts a storage object as the parameter.

See the Scripts Overview topic for more information.

See Also