美文网首页
Visual Studio Code运行html代码以及常用快捷

Visual Studio Code运行html代码以及常用快捷

作者: lvyweb | 来源:发表于2017-03-28 11:37 被阅读2138次

1、Visual Studio 运行.html文件

  • 第一步找到左侧扩展
  • 第二步搜索View in Browser
  • 第三步 安装
  • 然后找到要打开的.html文件,右键就会有View in Browser或者使用Ctrl+F1就可以预览你想要预览的页面啦。

2、Visual Studio 常用的快捷键(只列举出我常用的快捷键,持续更新)

  • 向上复制一行 :Shift+Alt+Up
  • 向下复制一行 :Shift+Alt+Down
  • 移动到文件开头(结尾):Ctrl+Home(End)
  • 回退上一个光标:Ctrl+U
  • 预览Markdown:Ctrl+Shift+V
  • 代码缩进:Ctrl+[或者Ctrl+]
  • 格式化代码:Shift+Alt+F
  • 全局搜文件:Ctrl+P
  • 打开文件所在目录:Ctrl+O
  • 全局搜索:Shift+Alt+H
  • 搜索具体行数:Ctrl+G
  • 关闭左侧任务栏:Ctrl+B

相关文章

网友评论

      本文标题:Visual Studio Code运行html代码以及常用快捷

      本文链接:https://www.haomeiwen.com/subject/ickjottx.html