vscode : rearrange code for js / ts files [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 25 days ago . 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