VladRassokhin / intellij-tasks-navigate

Plugin for IntelliJ Platform. Adds support for navigation from comments and any injection host (IntelliLang) to tasks (issues) in Web.
Apache License 2.0
5 stars 1 forks source link

Regexp for matching comments with issue numbers #4

Closed jesk closed 9 years ago

jesk commented 10 years ago

Is there any way to link comments in sourcecodes with issues e.g.:

TODO Needs update with #1234

I would like to define a pattern such as #\d+ to match any numbers preceded by a hash. \d+ would match the id for the associated issue tracker i.e. clicking #1234 would open the issue 1234 in the tracker.

VladRassokhin commented 10 years ago

Hi jesk, It's possible if you have configured at least one tesks server at Setting -> Tasks -> Servers. If such server integration found some issue id in comment it will be highlighted.

VladRassokhin commented 10 years ago

Is that ^ helped?

jesk commented 9 years ago

Thanks. I configured both a server and an annotation. The server connection test is successful. Maybe the syntax of the annotation is wrong. I didn't find any documentation on that.

Intention:

In order for the above to work:

Thanks!

victor-homyakov commented 9 years ago

I'm facing the same problem with issue numbers in comment. Any help is greatly appreciated.

VladRassokhin commented 9 years ago

Hi, Sorry, somehow missed notification. IDEA 15 will come with fixed issue about hichghlighting some ids in comments as external links. (It's not related to this plugin) At the same time you could setup tasks server with some url and id pattern, so this ('tasks navigation') plugin would do the same but using tasks servers instead of servers defined in "Settings | Version Control | Issue Navigation"