popcodeorg / popcodeorg/popcode

Auto-indentation of closing bracket in CSS is bad if you type within open/close bracket

Open
#552 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ux
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

Say you have CSS that is:

image {
    width: 500px;}

If you press the return key after the semi-colon the right curly brace does not tab appropriately.

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

Reproduce the issue in the CSS editor using the example, then trace the return-key handling for a line containing a semicolon followed by a closing curly brace. Done means the closing brace receives the appropriate indentation after pressing Return, with the behavior covered by a regression check if the existing editor tests expose this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
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.