RFR: 8258240: make vscode-project on Windows generates jdk.code-workspace file with unescaped '\' in paths

Daniel Jelinski duke at openjdk.java.net
Wed Jan 19 13:19:29 UTC 2022


On Fri, 14 Jan 2022 14:32:00 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> Backslashes in `sed` replacement string are interpreted by `sed`. In order to output the strings we want, the replacement text needs to be escaped again. See https://stackoverflow.com/a/2705678
>> 
>> Verified that with this patch VSCode is able to open the workspace, and all files are visible in "Explorer".
>
> Looks good!

Thanks @erikj79 for reviewing this. Could you sponsor?

-------------

PR: https://git.openjdk.java.net/jdk/pull/7083


More information about the ide-support-dev mailing list