My CommandsA small collection of practical VS Code commands for everyday text editing and Markdown cleanup. FeaturesMy Commands adds lightweight commands for common text transformations directly from the Command Palette:
Commands
Converts selected lines into Markdown bullet points. Example:
Becomes:
Sorts comma-separated items in the selected text. Example:
Becomes:
Adds one heading level to each selected Markdown section header. Example:
Becomes:
Removes one heading level from each selected Markdown section header. Level 1 headers are left unchanged. Example:
Becomes:
Sorts Markdown sections alphabetically by heading title while preserving section hierarchy and content. This is useful for organizing notes, documentation, outlines, and Markdown files with repeated sections.
Counts the number of lines in the selected text. If no text is selected, it counts the lines in the whole document. UsageOpen the Command Palette with NotesMarkdown section commands recognize GitHub-style headings such as:
Only headings that start with one or more Known IssuesN/A Release Notes0.0.1Initial setup. 0.0.2Implement sort line items and "dot". 0.0.3Update "dot" behavior. 0.0.4Initial release. Add new commands. LicenseMIT |