oakmac / oakmac/standard-clojure-style-js
API addition: where to put cursor on enter
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 137
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
From a chat with Nikita:
Because I also use formatter to determine how many spaces to put on next empty line when pressing enter
There should be an API method that returns this information.
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
Start by locating the formatter API and the code path that handles pressing Enter; no files or tests are named in the issue. Define the expected API contract for returning the indentation of the next empty line, then add coverage that verifies the returned spacing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100