Allows arguments (or other comma separated lists contained in brackets, braces, etc.) to be shifted left and right.
By default it defines "Alt+S Left" and "Ctrl+Alt+Left" to move arguments left and "Alt+S Right" and "Ctrl+Alt+Right" to move them right. You can also use the commands "Shift argument to the left" and "Shift argument to the right" from the command menu.
You can install the latest version of the extension via the Visual Studio Marketplace here.
Alternatively, open Visual Studio code, press
The source code is available on GitHub here.
Depending on your formatting settings, you might see an extra space here and there. It's too difficult to second guess the format of the list, so you'll have to rely on your formatter to fix it up after shifting.
It detects the arguments by simply searching for commas within the bracket scope. It's not clever enough to spot commas inside strings, or nested arguments, for example.