Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Make Code MultilineNew to Visual Studio Code? Get it now.
Make Code Multiline

Make Code Multiline

whoIsCerulean

| (0) | Free
Expand selected JavaScript or TypeScript code into readable multiline code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Make Code Multiline

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft