alanhe421 / bookmarkex4idea

Intellij IDEA plugin , Bookmark enhancer
0 stars 1 forks source link

添加书签时,如果是Git仓库,对应代码行的修改人同时进行记录 #5

Open alanhe421 opened 5 years ago

alanhe421 commented 5 years ago

在实际CodeReview,我们导出的书签实际上就是问题点,而对应代码的上次提交人其实就是首要指派的人。

关键问题是拿到当前行的Git信息

https://github.com/hsz/idea-vcswatch/blob/master/src/mobi/hsz/idea/vcswatch/core/VcsWatchManager.java

alanhe421 commented 5 years ago

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004109859--VcsUtil-getVcsFor-return-null https://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html

alanhe421 commented 5 years ago
  1. 如何获取annotate
  2. 如何获取目标revision