[鸿蒙OS] DevEco Studio 的代码输入自动补全功能

转载自:https://developer.huawei.com/consumer/cn/forum/topicview?tid=0203358403791390857&fid=0101303901040230869

修改方法如下:

  1. 点击 文件菜单(File) –> 点击 设置(Settings… Ctrl+Alt+S), –> 打开设置对话框。
  1. 在左侧的导航框中点击 KeyMap。

  2. 接着在右边的树型框中选择 Main menu –> Code –> Completion.

  3. 接着需要做两件事:

a. 移除原来的Cycle Expand Word 的 Alt+/ 快捷键绑定。

b. 在 Basic 上点击右键,去除原来的 Ctrl+空格 绑定,然后添加 Alt+/ 快捷键。

  1. 然后应用(Apply), OK.


    image.png
  2. 效果


    image.png

你可能感兴趣的:([鸿蒙OS] DevEco Studio 的代码输入自动补全功能)