ritwickdey/vscode-live-server

Open with Live Server with unsupported files (not html/svg) should open files instead of root folder

Open

#95 建立於 2018年3月21日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)TypeScript (1,788 fork)github user discovery
feature requestedhelp wanted

倉庫指標

Star
 (6,838 star)
PR 合併指標
 (PR 指標待抓取)

描述

Steps:

  • Select a file with an unsupported extension in the VS Code Explorer (e.g. test.xml)
  • Run command: Open with Live Server.

Expected result:

  • File is loaded live server / opened in my browser (Chrome) without inserted javascript. This would be a fallback mode: there is no live reload but I can still see my file in the virtual browser if I want to.

Actual result:

  • The root directory is opened in the browser. Workaround: manually select the file to view it in the browser. image

貢獻者指南