ruby / ruby/irb

Support editing command input in editor

Open
#1,176 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
478
Forks
158
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Flow:

  • User types the target command (note: edit command has a different semantic as of now) in IRB
  • IRB opens a temporary file in thed configured editor (same as the edit command uses)
  • After the file is saved & closed, IRB executes its content

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 tracing the existing edit command and how IRB uses the configured editor. Implement the described temporary-file flow for a target command, ensuring saved and closed content is executed while preserving the current edit semantics; done means the complete flow works from IRB.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.