Support editing command input in editor

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

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

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

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.

Description

enhancement

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
Dominant language
Ruby
Stars
477
Forks
165
Avg merge
1d 19h
Merged PRs (30d)
5

Getting set up

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.

More from ruby/irb

All issues in ruby/irb

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.