Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258240

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

XMLWordPrintable

    • b07

      `make vscode-project` doesn't seem to work anymore after the winenv re-write. When opening the workspace in vscode it shows orange exclamation marks next to the 'Source root' and 'Build artifacts' folders, and I can't browse anything.

      The problem seems to be that the new script produces paths with `\` in it, where it before produced paths with `/`, in the emitted jdk.code-workspace file. Both of these work for vscode, but the former needs to be quoted `\\`.

      If I manually replace the `\` with `/ `or `\\` in that file it works.

            djelinski Daniel Jelinski
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: