I found this in VSCode issues: https://github.com/Microsoft/vscode/issues/58607 @alexandrudima states that "The clipboard reading/writing in VS Code uses currently DOM APIs" but it is still ridiculous that VSCode cannot interoperate with VS2017.