Skip to content

yongsooim/vscode-alignargs

Repository files navigation

AlignArgs README

Align arguments in function calls.

Works for c-style, single line function calls.

Usage

Select function calls,

option 1) Open command palette, type 'align args' and press enter. Demo

option 2) Right click on selected text, click 'align args' on context menu. Demo

(Optional) Reference comment line
You can list argument names in the first comment line which will be aligned together.

Features

Format hex ( 0XabU => 0xABu)
Left/Center/Right align for decimal values
Left/Center/Right align for non-decimal values
Replace arguments