MacDownApp / MacDownApp/macdown

Improved whitespace handling

Open
#1,019 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

1) Rather than having the number of spaces set to `4` when *Insert spaces instead of tabs* is selected, allow the number of spaces to be configured through preferences.
2) Add a preference (and supporting implementation) that automatically removes trailing whitespace.

Contributor guide

Open the contributing guide

Research direction

Start by locating the preference handling and the existing implementation for inserting spaces instead of tabs. Then trace how whitespace is processed so both the configurable space count and automatic trailing-whitespace removal can be implemented. Done means both behaviors are available through preferences and work as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.