Strange indentation behavior in scribble base depending on if previous element was a number or a string
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 516
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
The follow program is indented with cmd-i
#lang scribble/base
@list[1
"x"]
@list["1"
"x"]
I would expect both snippets to indent like the second, but it seems that replacing 1 with "1" changes the behavior of the indenter.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in DrRacket using the Scribble/base snippets and Cmd-I, comparing indentation when the first element is 1 versus "1". Trace the indentation behavior from that editor command and verify that both snippets receive the same indentation.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100