mathworks / mathworks/MATLAB-language-server

Provide a "smarter" document formatter

Open
#14 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
125
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Current document formatting only modifies preceding and trailing whitespace on lines. It would be great if it could handle more advanced formatting, like adjusting whitespace within a line (e.g. a = 4+ 5 formatted to a = 4 + 5).

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

Start by locating the current document-formatting entry point and any formatter tests; the issue does not name files or tests. Define the supported whitespace rules beyond line edges, including the shown assignment and arithmetic example, then add coverage demonstrating that the formatter produces the agreed output.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab, typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.