nushell / nushell/reedline

prior art as a reference

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

Nobody has claimed this yet.

A-Completions A-Display enhancement
Dominant language
Rust
Stars
818
Forks
249
Avg merge
4d 14h
Merged PRs (30d)
30

Description

In this one image are several features that I'd love to see reedline strive to attain.

image

  • context aware syntax highlighting - note how the string 'Hello world' is colored differently from python keywords
  • configurable line continuation character(s) - note the ... on the second line
  • it's hard to miss the drop down combo box with scroll bar - no clue how to achieve this one, maybe tui? i guess this population would be language specific, but of course, i'm thinking about nushell. :) a use case is to use this with completions of sub commands in nushell and completions in general.
  • the status bar - would be nice to show hints, errors, etc in a status bar, opt-in configurable, of course

some of these we're well on our way to achieving.

This is taken from here and the github repo.

For reference, i found this collection of supported ansi escape sequences very informative.

To be clear, i'm not talking about baking in python or this python line editor. I'm just using it as a prior art reference.

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 reviewing the issue image and the linked python-prompt-toolkit documentation and repository. Separate the requested completion dropdown and status bar from the already checked capabilities, then confirm a narrower scope and acceptance criteria before identifying the relevant reedline entry points. Done should mean one agreed feature is implemented and its behavior is demonstrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.