posit-dev / posit-dev/positron

Keyboard shortcut to execute selected code from the Help pane

Open
#822 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: help
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

In RStudio, you can select code in the Help pane, and press Cmd+Enter to execute it in the Console. This is useful for testing out code examples. @jmcphers suggested including a similar feature in Positron.

Contributor guide

Open the contributing guide

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 locating the Help pane selection handling and the keyboard-command path in the Positron TypeScript codebase. Verify how selected code is sent to the Console, then confirm completion by selecting an example in the Help pane and using Cmd+Enter to execute it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.