STEP 1
Tools->Build System->New Build System
STEP 2<img src="//pic.ikafan.com/imgp/L3Byb3h5L2h0dHBzL3BpYzMuemhpbWcuY29tLzM3MjQzYzcxOGJkNDliNDk2ZjgzZWQ4ZTYxYTRmODc2X2IuanBn.jpg" data-rawwidth="798" data-rawheight="537" class="origin_image zh-lightbox-thumb" width="798" data-original="https://pic3.zhimg.com/37243c718bd49b496f83ed8e61a4f876_r.jpg">
Use windows command to open this file with default explorer
STEP 3<img src="//pic.ikafan.com/imgp/L3Byb3h5L2h0dHBzL3BpYzMuemhpbWcuY29tL2NjMGE5MjY1MGYzY2Q0M2Q2YzA1ZThlOGVjZmI1MWMyX2IuanBn.jpg" data-rawwidth="846" data-rawheight="537" class="origin_image zh-lightbox-thumb" width="846" data-original="https://pic3.zhimg.com/cc0a92650f3cd43d6c05e8e8ecfb51c2_r.jpg">
Save it in Package->User directory and switch the default build system
补充:按图上配置完成之后 按 Ctrl+B 即可用你的默认浏览器预览 HTML 代码。
但是有一点,如果文件名是中文的(或者有非asc码)预览会失败,可能是 python 2 不支持中文。
原文:http://zhufengdaaa.github.io/blog/2014/11/27/HTML-preview-tool/