VS Code Extensions
M

Make Code Multiline

by whoIsCerulean

Expand selected JavaScript or TypeScript code into readable multiline code.

Downloads

3

Rating

— (0)

Version

0.1.0

Last updated

Jul 25, 2026

Format selected JavaScript or TypeScript as readable multiline code using Prettier.

Use

Select code in a JavaScript, JSX, TypeScript, or TSX file, then:

  • Press Shift+Alt+M (Shift+Cmd+M on macOS), or
  • Right-click and choose Make Selection Multiline.

Select the whole file to format everything. With no selection, nothing changes.

Set up from source

git clone https://github.com/whocerulean/make-code-multiline.git
cd make-code-multiline
npm install
code .

Press F5 in VS Code to open an Extension Development Host and test the command there.

Test and package

npm test
npx @vscode/vsce package

Install the generated .vsix through Extensions: Install from VSIX....

Author

whocerulean

Related extensions