Table of Contents

Interface ICodeActions

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents properties and methods to handle syntax error collection.

public interface ICodeActions

Methods

FindCodeActions(Point, Point, Point, ISyntaxError, bool)

When implemented by a class, locates and highlights available code fixes and code refactors for given position in the texts.

GetCodeFixes(ISyntaxError, bool)

When implemented by a class, gets code fixes for a given syntax error.

GetCodeFixesAsync(ISyntaxError, bool, CancellationToken)

When implemented by a class, gets code fixes for a given syntax error in async mode.

HasCodeFixes(ISyntaxError, bool)

When implemented by a class, determines if code fixes are available for a given syntax error.

HasCodeFixesAsync(ISyntaxError, bool, CancellationToken)

When implemented by a class, determines if code fixes are available for a given syntax error in async mode.

HighlightCodeActions()

When implemented by a class, highlights code fixes/refactors if needed.