Ctrl+P
Just select a block of text and press, right click and select the Capture Code option.
image result
npm install -g vsce
vsce package