posit-dev / posit-dev/positron
RStudio Keymap: Alt + drag should generate multiple cursors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
Positron Version:
Positron Version: 2024.02.0 (Universal) build 1511
Code - OSS Version: 1.86.0
Commit: 2388caeb3ed5edcb6cd7d6aa0e230acf8ad58302
Date: 2024-02-07T03:03:28.751Z
Electron: 27.2.3
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.2.0
Steps to reproduce the issue:
- Type a bunch of nonsense across multiple lines
- Hold down alt and click and drag
What did you expect to happen?
One cursor per line, like in RStudio.
So in RStudio keymap, it would be nice if Alt was equivalent to Shift + Alt non-RStudio keymap mode.
Were there any error messages in the output or Developer Tools console?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the Alt-drag behavior in the RStudio keymap and compare it with Shift+Alt in the non-RStudio keymap; trace the keymap and multi-cursor entry points. Done means Alt-drag creates one cursor per selected line in RStudio keymap mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100