C# Class Microsoft.R.Editor.Completion.RCompletionSource

Provides actual content for the intellisense dropdown
Inheritance: ICompletionSource
Exibir arquivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void

Primary entry point for intellisense. This is where intellisense list is getting created.

Dispose ( ) : void
RCompletionSource ( ITextBuffer textBuffer, ICoreShell shell ) : System.Collections.Generic

Private Methods

Method Description
GetApplicableSpan ( int position, ICompletionSession session ) : Span?

Calculates span in the text buffer that contains data applicable to the current completion session. A tracking span will be created over it and editor will grow and shrink tracking span as user types and filter completion session based on the data inside the tracking span.

PopulateCompletionList ( int position, ICompletionSession session, IList completionSets, AstRoot ast ) : void

Populates R completion list for a given position

Method Details

AugmentCompletionSession() public method

Primary entry point for intellisense. This is where intellisense list is getting created.
public AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void
session ICompletionSession Completion session
completionSets IList Completion sets to populate
return void

Dispose() public method

public Dispose ( ) : void
return void

RCompletionSource() public method

public RCompletionSource ( ITextBuffer textBuffer, ICoreShell shell ) : System.Collections.Generic
textBuffer ITextBuffer
shell ICoreShell
return System.Collections.Generic