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.