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

Function _getChunks

src/rmarkdown/chunks.ts:208–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206
207// Helpers
208function _getChunks(): RMarkdownChunk[] {
209 const textEditor = vscode.window.activeTextEditor;
210 if (!textEditor) {
211 return [];
212 }
213 return getChunks(textEditor.document);
214}
215function _getStartLine(): number {
216 const textEditor = vscode.window.activeTextEditor;
217 if (!textEditor) {

Callers 11

runCurrentChunkFunction · 0.85
runCurrentChunkAndMoveFunction · 0.85
runPreviousChunkFunction · 0.85
runNextChunkFunction · 0.85
runAboveChunksFunction · 0.85
runBelowChunksFunction · 0.85
runCurrentAndBelowChunksFunction · 0.85
runAllChunksFunction · 0.85
goToPreviousChunkFunction · 0.85
goToNextChunkFunction · 0.85
selectCurrentChunkFunction · 0.85

Calls 1

getChunksFunction · 0.85

Tested by

no test coverage detected