microsoft / microsoft/edit

Add a settings page

Open
#22 48 comments 39 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Over time, more and more things may want to be configurable. Today it's:
* Theme colors
* Changing keyboard bindings
* Setting the ruler column for `COMMIT_EDITMSG` and others
* Enabling/Disabling the margin (line numbers)
* Enabling word-wrap for certain file types
* Cursor style
* Application language

We should use TOML, because JSON is kind of meh. It's also used by Helix.

On top of adding the mere dialog, this feature requires implementing settings persistence. This would mean:
* Windows: A settings file
* **BUT**: There are concerns about this making GPO more difficult. This needs to be watertight before we ship it.
* Linux: XDG `~/.config` directory - maybe as a JSON file?
* Implementing a JSON parser by hand would be funny
* macOS: Settings file but not sure which path ❔

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

The issue names no files, tests, or entry points. First resolve the settings format and platform-specific persistence paths, including the Windows GPO concern and the Linux and macOS locations. Done means a settings page and persistence for the listed options across Windows, Linux, and macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.