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

Function goToNextChunk

src/rmarkdown/chunks.ts:376–382  ·  view source on GitHub ↗
(chunks: RMarkdownChunk[] = _getChunks(),
    line: number = _getStartLine())

Source from the content-addressed store, hash-verified

374}
375
376export function goToNextChunk(chunks: RMarkdownChunk[] = _getChunks(),
377 line: number = _getStartLine()): void {
378 const nextChunk = getNextChunk(chunks, line);
379 if (nextChunk) {
380 void goToChunk(nextChunk);
381 }
382}
383
384export function selectCurrentChunk(chunks: RMarkdownChunk[] = _getChunks(),
385 line: number = _getStartLine()): void {

Callers

nothing calls this directly

Calls 4

_getChunksFunction · 0.85
_getStartLineFunction · 0.85
getNextChunkFunction · 0.85
goToChunkFunction · 0.85

Tested by

no test coverage detected