D
D
Dmitry2014-01-14 17:30:19
IDE
Dmitry, 2014-01-14 17:30:19

Is it possible in WebStorm to sort the fields of objects according to some criteria?

Is it possible in WebStorm to sort the fields of objects according to some criteria? For example, in alphabetical order.
It was:

var a = {
b: 1,
c: 2,
a: 3
};

It became:
var a = {
a: 3
b: 1,
c: 2
},

The next level of desire is to have non-function objects at the top, functions at the bottom.
PHP Storm has a Rearrange code feature , which is cool. I would like similar miracles for Webstorm.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question