Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Order propsNew to Visual Studio Code? Get it now.
Order props

Order props

selfrefactor

|
5,422 installs
| (0) | Free
Sort lines and object properties
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Order props

Features

  • Click f8 to order lines including when the user selects object

  • Click alt+c to copy lines trimmed from both ends

Special cases

All of those are transformed to ordered multilines

One line imports

import {z,d,g,r} from 'foo'

One line require

const {z,d,g,r} = require('foo')

One line function inputs

function foo({z,d,g,r}){

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