Preview ServerHTML快速预览服务器,支持GBK编码文件,基于 Express,在 ServerResponse 调用 setHeader 添加 Content-Type: text/html, charset=GBK。 当工作空间有多个工作目录时,只使用第一个目录来启动服务器。 Easy way to preview your HTML. This extension supports HTML and Javascript files that encoded in GBK. Base on Express. When workspace have one more folders, Server starts using the first folder only. Features快速启动HTML页面预览服务器,服务器默认监听8900端口。如果同时多个项目在进行,服务端口冲突的话,可以在 workspace 设置不同的端口。 Start a web server to preview html pages. server is listening to 8900 default. If you have multi working projects, you can change the listening port in the workspace. Available Commands
Extension Settings
Run test
Mac 遇到问题
下载的编译包编译问题,自己下载可以运行的VS Code替换.vscode-test目录的执行文件 |