posit-dev / posit-dev/positron
python: cmd/ctrl + enter sometimes doesn't ID the correct range if there's a syntax error in the file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Positron: 2024.07.0-15
OS: MacOS
Without cell:
Only CTRL+ENTER works, and works when placing cursor anywhere in the block
However, with cell:
Both CTRL+ENTER and SHIFT+ENTER work, but behave differently
SHIFT+ENTER works when placing the cursor anywhere in the block, but NOT CTRL+ENTER (it only works when placing the cursor in the beginning of the block)
CTRL+ENTER
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
Reproduce this in Positron on macOS with a Python file containing a syntax error, comparing Ctrl/Cmd+Enter and Shift+Enter with and without cells. Check cursor positions within the block and verify that each command identifies the intended range; done means both commands select the correct range consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100