2014-12-19 20 views

回答

51

'git blame'is supported - 该命令被称为在PhpStorm中注释

  1. 右键单击该文件
  2. 选择的Git>注释

Annotate option in the context menu

Annotate result in the file

+6

感谢您的建议。但我知道。没有“右键单击左边的水槽,并选择注释选项”,我想在默认打开文件后显示“git blame”。 – 2014-12-22 01:51:03

+1

为什么'Annotate'功能被禁用,即使回购在'Git'下? – hellboy 2016-11-03 08:51:02

3

您可以设置一个热键在PHPStorm几乎所有的东西。

单击首选项>键盘映射。搜索注释。然后您可以设置一个热键来切换PHPStorm中的注释。

这并不完全解决打开文件时显示注释的问题,但确实消除了大量繁琐的点击操作。

相关问题