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

Inheritance: IRCompletionListProvider, IRHelpSearchTermProvider
ファイルを表示 Open project: Microsoft/RTVS

Public Methods

Method Description
GetEntries ( RCompletionContext context ) : IReadOnlyCollection
GetEntries ( ) : IReadOnlyCollection

Private Methods

Method Description
GetAllFilePackagesAsync ( RCompletionContext context ) : Task>

Retrieves list of packages declared in the file via 'library' statements

GetPackageByName ( string packageName ) : IPackageInfo
GetPackages ( RCompletionContext context ) : IEnumerable
GetSpecificPackage ( RCompletionContext context ) : IEnumerable

Retrieves name of the package in 'package::' statement so intellisense can show list of functions available in the specific package.

PackageFunctionCompletionProvider ( ILoadedPackagesProvider loadedPackagesProvider, [ AllowDefault = true)]ISnippetInformationSourceProvidersnippetInformationSource, IPackageIndex packageIndex, IFunctionIndex functionIndex, IGlyphService glyphService ) : System.Collections.Generic

Method Details

GetEntries() public method

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

GetEntries() public method

public GetEntries ( ) : IReadOnlyCollection
return IReadOnlyCollection