racket / racket/rhombus

the tab key and editing

Open
#762 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
601
Forks
74
Avg merge
2d 10h
Merged PRs (30d)
5

Description

When editing Racket code in DrRacket, when you hit "tab" and the insertion point is in the whitespace at the start of the line, the insertion point moves to the first non-whitespace on the line. I find that I use this a lot to navigate but range-indentation facility (which is used by Rhombus) doesn't do that.

I've made a change here along these lines, but since the range-indentation functionality isn't limited to only inserting whitespace, it isn't clear if this should be done differently (or not at all, or under some disabled-by-default option, or ....?).

Any opinions?

Contributor guide

No contributing guide indexed for this repository

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 proposed changes in the indentation-editing branch and the existing range-indentation behavior used by Rhombus. Determine whether moving the insertion point from leading whitespace to the first non-whitespace character fits the current editing semantics or requires an option. Done means the project has a decided behavior and an agreed implementation scope.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.