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

Function getLastActiveTextEditor

src/rstudioapi.ts:441–444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439}
440
441function getLastActiveTextEditor() {
442 return (typeof window.activeTextEditor === 'undefined' ?
443 lastActiveTextEditor : window.activeTextEditor);
444}
445
446function findTargetUri(id: string | null) {
447 return (id === null ?

Callers 4

activeEditorContextFunction · 0.85
projectPathFunction · 0.85
findTargetUriFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected