quarto-dev / quarto-dev/quarto

Feature request "Jump to end of current cell" when executing code.

Open
#908 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Working In Positron (I guess this goes for Studio as well) a qmd file might look like the example below.

When executing Some code I a working on towards the end of the cell the cursor will jump all the way down to the 2nd cell, forcing me to scroll up again.

Is it possible to add a setting that enables "Jump to end of current cell"?

```{r Cell 1}
Longish code
.
.
.
.

Some code I a working on towards the end of the cell
```

Long text outside cell
.
.
.
.
.
.
.

```{r Cell 2}
Another cell.
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cursor movement in a qmd file in Positron or Studio, using the two-cell example from the issue. Trace how code-cell execution chooses the next cursor position; done means an optional setting keeps the cursor at the end of the current cell instead of moving to the second cell.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.