Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

workspaceFolder path issue under Windows #26

Open
eymeric-giraux opened this issue May 2, 2023 · 1 comment
Open

workspaceFolder path issue under Windows #26

eymeric-giraux opened this issue May 2, 2023 · 1 comment

Comments

@eymeric-giraux
Copy link

Under Windows, it seems that the path using ${workspaceFolder}/ generates an issue.
See below.

grafik

The problem is solved when using relative path.

@HughG
Copy link

HughG commented May 15, 2023

Yep, I've just been hit by this, too. Extension version 0.2.1, VSCode version 1.78.2.

To clarify the workaround by @eymeric-giraux, I solved the problem by using the following settings.

{
    "sphinx-needs.needsJson": "build/needs/needs.json",
    "sphinx-needs.srcDir": "source"
}

BUT doing this makes the "Sphinx-Needs Explorer" view go "blank", whereas if I put

{
    "sphinx-needs.needsJson": "${workspaceFolder}/build/needs/needs.json",
    "sphinx-needs.srcDir": "${workspaceFolder}/source"
}

then the explorer view works, but the above error appears and auto-complete, etc., don't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants