This extension adds ✨ Fix TypeScript Member Ordering to the Explorer context menu and to the context menu of open TypeScript editor tabs. The command is available for .ts files and directories. When invoked for a directory, it recursively processes all *.ts files.
You can also select multiple files or directories and invoke the command once. Progress and diagnostic information are displayed in the Member Ordering Fixer Output channel.
Development
cd C:\Projekty\member-ordering-fixer\extenstion
npm install
npm run compile
code .
Press F5 in VS Code to launch an Extension Development Host window. Then right-click a .ts file or directory in Explorer and select the extension command.
Packaging
npx @vscode/vsce package
Install the generated .vsix file with Extensions: Install from VSIX....
The existing member-ordering algorithm is bundled into the extension during compilation, so the installed VSIX does not require a global member-ordering-fixer installation.