Integrated: 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 14:21:33 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".

This pull request has now been integrated.

Changeset: b20b11cf
Author:    Daniel Jelinski <djelinski1 at gmail.com>
Committer: Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b20b11cf8215238e5cd51a1d3a331d5cbfdad710
Stats:     15 lines in 1 file changed: 7 ins; 0 del; 8 mod

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

Reviewed-by: erikj

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

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


More information about the ide-support-dev mailing list