help icon indicating copy to clipboard operation
help copied to clipboard

Make functionality to show folder files instead of 'file not found'

Open lucianahanan opened this issue 3 years ago • 3 comments

Details

The problem: I need to quickly switch between many files while here on my localhost:8080/ 'live service' runned by Edge DevTools that uses node.js as its server, that will show the 'faux browser page' right inside visual studio code.

If you go to the same url using vscode Go Live, you can actually see the folder files normally, like Options +indexes enabled in apache used to have.

Request: Please, add a Directory listing fallback, an option in node.js service to let us do the same as Options +indexes, so we can see the folder files when not calling any specific file, at least for localhost !

Node.js version

last stable.

Example code

No response

Operating system

doesnt matter

Scope

http service

Module and version

Not applicable.

lucianahanan avatar May 18 '22 06:05 lucianahanan

That is a userland feature you can write yourself. I wrote such a thing in a GUI presented in the browser for my personal application. It requires the ability to walk the file system making use of fs.readdir method, packaging the output into a data object of your formulation, and an interactive interface to make use of that data.

prettydiff avatar May 27 '22 20:05 prettydiff

Hmm, I was wondering, because the plain Live Server comes with this functionality, I was expecting it to be ported to your code as well somehow :(

lucianahanan avatar Aug 31 '22 22:08 lucianahanan

There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.

github-actions[bot] avatar Mar 09 '24 01:03 github-actions[bot]

Closing after no activity on this issue for 12 months.

github-actions[bot] avatar Apr 08 '24 01:04 github-actions[bot]