jashkenas / jashkenas/coffeescript
CLI: REPL: <TAB> characters in multi-line mode should be converted to 2 spaces
- Dominant language
- CoffeeScript
- Stars
- 16.6k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
I use tabs instead of spaces in my code. I cannot test snippets of my code if there is indentation, because the multi-line mode reads tabs as if you're pressing the tab key in the terminal; which shows you autocompletion (normally all variables in the global scope because the indentation is always at the beginning of each line).
Is it possible to convert the tabs to double-spaces when I press ⌘+V in multi-line mode?
Thanks.
Contributor guide
Research direction
Reproduce the issue in the CoffeeScript CLI REPL's multi-line mode by pasting indented code containing tab characters. Trace the multi-line paste handling, then verify that pasted tabs become two spaces and no longer trigger terminal completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100