Вопрос

Using Mylyn in Eclipse, there is a global setting allowing me to set a mask for the commit comments to be generated for VC commits for a task.

Is there any way to do this in IntelliJ (using 11.1.3 at the moment)?

Basically, under 'Mylyn | Team', I set the 'Commit Comment Template' to [${task.key}] ${task.description} - ${task.url}.

When I then commit changes for a task, Eclipse automatically generates a commit comment with the variables filled in.

In Intellij, I want the default comment for a changeset (when generated for a task) to be set in the same manner.

This is needed because we need to link commits to the JIRA task they were for.

Это было полезно?

Решение

The setting is available at Project Settings -> Tasks -> Servers -> Commit Message tab.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top