Closed fr43nk closed 2 years ago
@fr43nk Isn't this the variable ${workspaceFolderBasename}
Hi,
sadly it is not the right one. This is the first folder of my workspace path entries common
in this example and not technical
. Although the called filed is located in the last mentioned one.
best
@fr43nk v1.38.0 has 2 new commands
extension.commandvariable.workspace.folderBasename
: basename of workspace root of current fileextension.commandvariable.workspace.folder
: workspace root of current fileThanks a lot. Works great.
Best regards.
Hi, I'm using workspaces a lot. There I have a bunch of paths configured to be part of that workspace. Those paths have one base folder in common. My request now is, to have a variable which contains the folder name after the base folder. Like so:
For this example, a variable that just returns
common
ortechnical
depending on the path of the open file.Best regards, Frank