"Open a folder or workspace... (File -> Open Folder)" when "> Live Server: Open with Live Server" without a folder being open
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
[X ] Feature request
[ X] Documentation issue or request
[ ] Other: <!-- Please describe: -->
Current behavior
With a HTML page open, I hit Ctrl+Shift+P and type Live Server: Open with Live Server but I get a error saying Open a folder or workspace… (File -> Open Folder)
Expected behavior
Should open a standalone HTML file.
Environment
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [X ] IE version 11
- [ ] Edge version XX
For Tooling issues:
- Live Server: Latest
- Platform: Windows
- Visual Studio Code: 1.29.1
Others
Issue Analytics
- State:
- Created 5 years ago
- Comments:64
Top Results From Across the Web
Why is VS code live server opening a directory instead of ...
Once it points to the right file then simply right-click and select "open with LiveServer." It should work. Share.
Read more >Multi-root Workspaces in Visual Studio Code
The File > Add Folder to Workspace command brings up an Open Folder dialog to select the new folder. Add Root Folder. Once...
Read more >Changelog | Live Server | VSCode Extension - Ritwick Dey
(BTW, More update comming… :smile:) — [New Shortcut #17] Explorer Context Menu shortcut added. Just right click on a a HTML file &...
Read more >Installing and Using VS Code Live Share
Live Share, Live Server, and Live Share Audio Instructions ... Open your project folder through VS Code. Open VS Code; Select File >...
Read more >Visual Studio Code Live Server Not Working - freeCodeCamp
Then, reopen VSCode and try again – go to the HTML file you want to view, right click, and select "Open with Live...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow! I got the solution, whenever you try to open file without opening folder in visual studio code, then the issue occurs, to avoid this first open the folder(where code file already exist) in visual studio code, and then you can open live server by right click. thank you
Guys hello, i have the same problem but i could not solve it. When i press Open with live server below message appears “Open a folder or workspace… (File -> Open Folder)”, I opened any html file there many times but nothing about live server works ,guys how can i solve this?please any help Kind Regards