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

Method searchHelpByText

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

Source from the content-addressed store, hash-verified

408
409 // search function, similar to typing `?? ...` in R
410 public async searchHelpByText(): Promise<boolean> {
411 const searchTerm = await vscode.window.showInputBox({
412 value: '',
413 prompt: 'Please enter a search term',
414 });
415 if (searchTerm !== undefined) {
416 return this.showHelpForPath(
417 `/doc/html/Search?pattern=${searchTerm}`,
418 );
419 }
420 return false;
421 }
422
423 // quickly open help for selection
424 public async openHelpForSelection(

Callers 1

callBackMethod · 0.80

Calls 1

showHelpForPathMethod · 0.95

Tested by

no test coverage detected