JetBrains IDE 的代码完成与 . (点)

JetBrains IDEs code completion with . (dot)

JetBrains IDE(现在使用 PhpStorm 检查)未使用点完成。例如,我输入 win 并输入 .,它变成 win.,而我希望它完成 windows.。例如在 R# 中,它完成了我想要的方式。

此选项在 PhpStorm 中默认禁用。它在引入时是自动启用的...但根据最初的反馈,决定默认禁用它。

无论如何:

  1. Settings/Preferences
  2. Editor | General | Code Completion
  3. Insert selected suggestion by pressing space, dot, or other context-dependent keys