DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Tools
  4. Linking Check-in Comments to Issues in Tracker

Linking Check-in Comments to Issues in Tracker

Irina Megorskaya user avatar by
Irina Megorskaya
·
Mar. 07, 08 · News
Like (0)
Save
Tweet
Share
6.13K Views

Join the DZone community and get the full member experience.

Join For Free

How many times have you blamed your own laziness having found some highly meaningful check-in comment, like "fixed" or "done"? Even if you knew what it meant at the time of writing, after a while you will be unable to recall what has been done and why, and whether it reduces the backlog of your bugs or not ...

IntelliJ IDEA leaves you no excuse for not writing check-in comments. You have to configure navigation to your issues tracker just once. Then, every time you commit your changes, type a matching string - IDEA will take care of replacing it with a link to the respective issue.

Let's look how it's done. First, open the Version Control dialog (Ctrl+Alt+S, 3) and in the Issue Navigation tab define a regular expression, describing your typical comment. For example, such comment can contain a number of letters and digits, separated with a dash, to denote project code and issue number: [A-Z]+\-\d+. Next, type an expression that will replace matching strings in your check-in comments and provide navigation to the issues.

Now, when you commit your changes related to an issue, enter issue number to match the regular expression:

[img_assist|nid=1611|title=|desc=|link=none|align=left|width=458|height=406]

 

 

 

 

 

 

 

 

 

 

 

 

 

When later you will look through the changes in the repository, you will be able to easily jump from the check-in comments to the related issues in your tracker:

[img_assist|nid=1612|title=|desc=|link=none|align=left|width=157|height=213]

 

code style Tracker (business software) intellij

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Implementing Adaptive Concurrency Limits
  • 3 Ways That You Can Operate Record Beyond DTO [Video]
  • Comparing Flutter vs. React Native
  • Hackerman [Comic]

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: