macbook 中 VScode 的使用

MacBook上Visual Studio Code高效使用指南
本文详细介绍了在MacBook上使用VScode的布局、快捷键、Java开发等技巧。包括沉浸模式、编辑器布局调整、快捷键设置、颜色主题选择、文件图标主题配置、查找与跳转符号、代码补全以及Java开发中的实用功能,如代码重命名、提取方法和变量等。

一、布局

1.1 沉浸模式(zen model): ⌘K Z

1.2 其它的快捷键:

  • ⌥⌘→ go to the right editor.
  • ⌥⌘← go to the left editor.
  • ⌃Tab open the next editor in the editor group MRU list.
  • ⌃⇧Tab open the previous editor in the editor group MRU list.
  • ⌘1 go to the leftmost editor group.
  • ⌘2 go to the center editor group.
  • ⌘3 go to the rightmost editor group.
  • unassigned go to the previous editor group.
  • unassigned go to the next editor group.
  • ⌘W close the active editor.
  • ⌘K W close all editors in the editor group.
  • ⌘K ⌘W close all editors.

1.3 布局

隐藏和显示active bar: 在active bar上按右键;

隐藏和显示side bar:command + B;

显示多个编辑页:

  • Alt click on a file in the Explorer.
  • ⌘\ to split the active editor into two.
  • Open to the Side (⌃Enter) from the Explorer context menu on a file.
  • Click the Split Editor button in the upper right of an editor.
  • Drag and drop a file to any side of the editor region.
  • Ctrl+Enter (macOS: Cmd+Enter) in the Quick Open (⌘P) file list.</
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值