Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CodeCompletionRequestManager.UseLocalEngine() Method

In This Article

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

Namespace: DevExpress.XtraReports.CodeCompletion

Assembly: DevExpress.XtraReports.v24.2.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