quarto-dev / quarto-dev/quarto

VS code: Cursor in incorrect place when inserting a code cell with the insert anything tool

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

Nobody has claimed this yet.

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

Description

When inserting a code cell via the insert anything tool, the cursor ends up in the wrong place (right before {r} instead of on the next line. This issue isn't there if inserting via the Insert menu.

https://github.com/quarto-dev/quarto/assets/5965649/fedec7d4-1178-4456-a9cd-e7ed80f74a96

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

Reproduce inserting a code cell with the VS Code Insert Anything tool, then compare the cursor position with insertion through the Insert menu. Trace the two insertion paths and consider the issue done when the cursor lands on the next line after the inserted cell in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.