compulim / vscode-express

Hosts current workspace in Express
MIT License
16 stars 3 forks source link

Want short cuts and open current file #10

Open shalldie opened 7 years ago

shalldie commented 7 years ago

First,thank u for this useful extension!

I hope that,add short cuts to this extension,which can make it more simple to use.

Second,after hosted a website,i need to type in some files' path by myself to view it. So i want a command to open current file while the website has been hosted.

:smile:

falco467 commented 7 years ago

Hi! - An easy work around ist to define a Task in tasks.json, which has as target "chrome.exe" and arguments "http://localhost/${relativeFile}" - then you can create a shortcut and easily open any file in your browser.