Table of Contents

Method FindDeclarationAsync

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v10.dll

FindDeclarationAsync()

When implemented by a class, finds the declaration of the symbol at the current position.

Task<SymbolLocation> FindDeclarationAsync()

Returns

Task<SymbolLocation>

Declaration symbol location

FindDeclarationAsync(Point, bool)

When implemented by a class, finds the declaration of the symbol under the given position in async mode.

Task<SymbolLocation> FindDeclarationAsync(Point position, bool includeNonSource = false)

Parameters

position Point

Position within the text.

includeNonSource bool

Specifies that locations should be returned even if it's not in the source files.

Returns

Task<SymbolLocation>

Declaration symbol location.