MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / searchHelpByAlias

Method searchHelpByAlias

src/helpViewer/index.ts:520–526  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

518
519 // search function, similar to calling `?` in R
520 public async searchHelpByAlias(): Promise<boolean> {
521 const alias = await this.pickAlias();
522 if (alias) {
523 return this.showHelpForAlias(alias);
524 }
525 return false;
526 }
527
528 // helper function to get aliases from aliasprovider
529 private async getAllAliases(includePreview: boolean = false): Promise<Alias[] | undefined> {

Callers 1

callBackMethod · 0.80

Calls 2

pickAliasMethod · 0.95
showHelpForAliasMethod · 0.95

Tested by

no test coverage detected