C# Class Microsoft.R.Editor.Completion.Providers.ParameterNameCompletionProvider

Provides list of parameter names in function parameter completion in the form of 'name=' so when parameter name is the simiar to a function name, user can choose either subset() or subset=
Inheritance: IRCompletionListProvider
ファイルを表示 Open project: Microsoft/RTVS

Public Methods

Method Description
GetEntries ( RCompletionContext context ) : IReadOnlyCollection
ParameterNameCompletionProvider ( IFunctionIndex functionIndex, IGlyphService glyphService ) : System

Private Methods

Method Description
GetFunctionInfo ( RCompletionContext context ) : IFunctionInfo

Extracts information on the current function in the completion context, if any.

ShouldProvideCompletions ( RCompletionContext context, FunctionCall &funcCall ) : bool

Method Details

GetEntries() public method

public GetEntries ( RCompletionContext context ) : IReadOnlyCollection
context RCompletionContext
return IReadOnlyCollection

ParameterNameCompletionProvider() public method

public ParameterNameCompletionProvider ( IFunctionIndex functionIndex, IGlyphService glyphService ) : System
functionIndex IFunctionIndex
glyphService IGlyphService
return System