MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / refreshContent

Method refreshContent

src/rmarkdown/preview.ts:57–60  ·  view source on GitHub ↗
(useCodeTheme: boolean)

Source from the content-addressed store, hash-verified

55 }
56
57 public async refreshContent(useCodeTheme: boolean) {
58 this.getHtmlContent(await readContent(this.outputUri.fsPath, 'utf8') ?? '');
59 this.styleHtml(useCodeTheme);
60 }
61
62 private startFileWatcher(RMarkdownPreviewManager: RMarkdownPreviewManager, filePath: string) {
63 let fsTimeout: NodeJS.Timeout | null;

Callers 2

constructorMethod · 0.95
refreshPanelMethod · 0.80

Calls 3

getHtmlContentMethod · 0.95
styleHtmlMethod · 0.95
readContentFunction · 0.90

Tested by

no test coverage detected