max-mapper / max-mapper/requirebin

es6 destructuring and indentation

Open
#117 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
389
Forks
73
PR merge metrics
No merged PRs in 30d

Description

After using the new structuring/destructuring techniques es6 has available, automatic indentation is (very annoyingly) messed up.

Example (requirebin):


let c = {b}; // press enter here at the end of the line

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

Reproduce the indentation problem using the linked RequireBin example with let c = {b}; and pressing Enter at the end of the line. Trace the editor's indentation behavior for ES6 destructuring; it is done when indentation remains correct after that action and related destructuring cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.