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

Erik Joelsson erikj at openjdk.java.net
Fri Jan 14 14:35:28 UTC 2022

On Fri, 14 Jan 2022 13:45:51 GMT, Daniel Jelinski <duke at openjdk.java.net> 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!


Marked as reviewed by erikj (Reviewer).

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

More information about the ide-support-dev mailing list