Table of Contents

Method FindCodeActions

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

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

Locates and highlights available code fixes and code refactors for given position in the texts.

public override void FindCodeActions(Point position, Point startPos, Point endPos, ISyntaxError error, bool allDocuments = false)

Parameters

position Point

Start position within the text.

startPos Point

Start position within the text.

endPos Point

End position within the text.

error ISyntaxError

Syntax error within the text.

allDocuments bool

Specifies all documents in the solution needs to be processed.