Skip to content

Request for additional funtionality to use current vscode openfolder as root folder in generated path for urls #3

Description

@visualperception

What I'm looking for is the ability to configure as follows:

to use the current root folder as open in vscode as the root folder in the generated path when sending to a browser. So I can generate a url as follows:

http://localhost/root-folder-from-vscode-explorer/relative-path-to-open-file

so if the full OS file path was c:\folder1\folder2\folder3\folder4\myfile.htm
and I have folder2 as the open root folder in vscode, then the generated url would be:

http://localhost/folder2/folder3/folder4/myfile.htm

and if the open root folder in vscode was folder3 then the generated url would be:

http://localhost/folder3/folder4/myfile.htm

this so that I can use any folder on my local machine as a website root folder and not restricted to using the apache or other default structure for http file locations.

Thanks.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions