add support of command palette

Signed-off-by: zzjin <tczzjin@gmail.com>