-
-
Notifications
You must be signed in to change notification settings - Fork 14
Support formating a section of markdown #132
Copy link
Copy link
Open
Labels
🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change
Description
Activity
Metadata
Metadata
Assignees
Labels
🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change
Initial checklist
Problem
VSCode has a
format sectioncommand this is currently not supported by this extension.If supported this allows
editor.formatOnSaveModewithmodificationsIfAvailableto only format modified lienes (if I understood correctly)Solution
It is said in the vscode extensions docs that the extension need to respond to the
textDocument/rangeFormattingrequest.Alternatives
For
formatOnSavethe mode can be set tofile, to allow formatting on save, without the benefit of formating only changed text.