Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98658

vscode : rearrange code for js / ts files [closed]

$
0
0

How can I rearrange the code in a .js / .ts file in Vscode? For example inside a Class, I want it to automatically put static variables at the top, then variables, then methods, etc.

I tried to google "vscode rearrange code" but it always point to Prettier, which does NOT do that.

Now maybe this feature doesn't exist on Javascript? But for example in Android Studio (Java) there definitely is an option to do that.

Also, I'm not talking about rearranging imports, I already know Vscode can do that.


Viewing all articles
Browse latest Browse all 98658

Latest Images

Trending Articles



Latest Images