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

Function documentSave

src/rstudioapi.ts:211–215  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

209}
210
211export async function documentSave(id: string): Promise<void> {
212 const target = findTargetUri(id);
213 const targetDocument = await workspace.openTextDocument(target);
214 await targetDocument.save();
215}
216
217export async function documentSaveAll(): Promise<void> {
218 await workspace.saveAll();

Callers 1

dispatchRStudioAPICallFunction · 0.85

Calls 1

findTargetUriFunction · 0.85

Tested by

no test coverage detected