0

Below are my vscode settings

"editor.formatOnPaste": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"typescript.format.insertSpaceBeforeFunctionParenthesis": true

And when I copy paste code, I am expecting it to retain the space after funtion name and before parenthesis. But I am unable to get it working.

CTRL + Z does retain the spaces, but removes indentation. I want the formatonpaste(editor.formatOnPaste) to work.

2
  • This space is probably not a good idea in the first place. (IMHO)
    – chqrlie
    Commented Jul 3, 2022 at 16:43
  • Thankyou @chqrlie, yeah may be I should take it up with vscode community. However this is a common problem I tried to see user experience before taking it to community.
    – ashok
    Commented Jul 4, 2022 at 23:18

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.