APerricone / harbourCodeExtension

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages
32 stars 20 forks source link

Include Paths can't go back one level folder #75

Open ns-bruno opened 3 years ago

ns-bruno commented 3 years ago

I am currently using the following configuration in vscode's settings.json file:

{
    "harbour.compilerExecutable": "..\\compiler\\xharbour\\bin\\harbour.exe",
    "harbour.extraOptions": "..\\Compiler\\xharbour\\include",
    "harbour.extraIncludePaths": [
        "..\\Compiler\\fwh_2002\\include",
        "..\\Compiler\\xharbour\\include"
    ],
}

I realized that the function resolvePredefinedVariables(v) cannot go back one level of the current project folder (Workspace Folder) using ..\\ as you can see in the example of settings.json above.

So it would be interesting and of great help implement the resolvePredefinedVariables (v) to accept back level using ..\\.