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

Provides list of files and folder in the current directory
Inheritance: IRCompletionListProvider
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
FilesCompletionProvider ( string directoryCandidate, IRInteractiveWorkflow workflow, IImagesProvider imagesProvider, IGlyphService glyphService, bool forceR = false ) : System
GetEntries ( RCompletionContext context ) : IReadOnlyCollection

Private Methods

Method Description
ExtractDirectory ( string directory ) : string
GetLocalDirectoryItems ( string userDirectory ) : IEnumerable
GetRemoteDirectoryItemsAsync ( string directory ) : Task>

Method Details

FilesCompletionProvider() public method

public FilesCompletionProvider ( string directoryCandidate, IRInteractiveWorkflow workflow, IImagesProvider imagesProvider, IGlyphService glyphService, bool forceR = false ) : System
directoryCandidate string
workflow IRInteractiveWorkflow
imagesProvider IImagesProvider
glyphService IGlyphService
forceR bool
return System

GetEntries() public method

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