美文网首页
Visual Studio

Visual Studio

作者: Harely | 来源:发表于2020-04-18 14:49 被阅读0次

快捷键使用

  • 进入类、方法、变量
    按住Command 键 + 点击某个变量或者方法

  • 返回或进入某个方法

    • 进入:Command + option + ➡️
    • 返回:Command + option + ⬅️

快捷键修改

  • 方法定义的进入和返回
    • 进入
      Windows:Ctrl + 鼠标左击跳到定义;
      Mac: Command + 鼠标点击;

    • 返回:
      Windows: Alt + ← ;或者 鼠标侧键
      Linux: Ctrl + Alt + - ;貌似数字键盘的减号没效果
      Mac: Ctrl + -
      终极奥义:VSCode左下角 “管理 / Manage” -> “键盘快捷方式 / Keyboard Shortcuts” -> 搜索 “前进 / Go Forward 或 后退 / Go Back”

左右括号之间跳转:
ctrl + shift + \


解决Vscode Studio 打开新文件覆盖上一个窗口的问题

Command+shift+P 打开偏好设置,如下图:


打开偏好设置 取消覆盖预览View

相关文章

网友评论

      本文标题:Visual Studio

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