Scott Reed
Dec 22, 2017
  2613
(4 votes)

Working with Resharper 2017.3 custom TODOs and backlog systems

As a senior developer here at https://www.redweb.com/ leading a team building Episerver websites I'm always keen on enhancements to make productivity better. One such tool that every developer in our team uses is Resharper and for a long time we have used it's numerous benefits such as

  • Better code highlighting
  • Suggestions and fixing of errors (great for juniors)
  • Snippets
  • File templates (this a favourite and great for autogenertaing viewmodels, controllers and views when creating the model file)

With the latest update of 2017.3 https://www.jetbrains.com/resharper/whatsnew/ came a great new expression and external url feature with custom TODO types. This is really handy for a team such as ours that works with a backlog in Visual Studio Team Services but would work for any external tools such as Jira or GitHub.

Overview

Essentially for a while Resharper has had a feature that allows you to create custom TODO types in code. This allow you to use resharper's TODO browers to view these different grouped TODO types and have them highlighted and presented in the editor differently.

Now the cool thing that's been added and supports work systems is the ability to support pattern matched URL and link/preview them.

For example I have created the following config for User Stories, Tasks and Bugs in VSTS

Image settings2.png

Once this has been created you can insert these custom types in comments with links to the work item ID and it become a link to the item.

Image edior.png

In my opinion this really helps especially if you are a senior to assign work to users and put the links to this work directly in the code where it needs to be actioned.

It also helps you search and find any user stories, tasks and bugs within the code left over with the filterable TODO explorer

Image explorer.png

This also could be used for a range of great usages such as

  • Linking to documentation
  • Linking to a stack overflow issue

Let me know what you think :-) Thanks

Dec 22, 2017

Comments

Please login to comment.
Latest blogs
Optimizely For you Intranet

Having been at Optimizely and in the CMS industry for nearly 16 years I have seen clients’ intranet requirements go from a simple site just to hous...

Robert Folan | Sep 22, 2023

Vulnerability in EPiServer.GoogleAnalytics v3 and v4

Introduction A potential security vulnerability was detected for Optimizely Google Analytics addon (including EPiServer.GoogleAnalytics and...

Bien Nguyen | Sep 20, 2023

Overriding Optimizely’s Content Recommendations Block to Implement Custom Recommendations

Introduction The Content Recommendations add-on for Optimizely CMS dynamically recommends content from your site tailored to the interests of each...

abritt | Sep 13, 2023 | Syndicated blog

Developer contest! Install the AI Assistant and Win Bose QC45 Headphones!

We are thrilled to announce a developer contest where you have the chance to win a pair of Bose Headphones. The goal is to be the first developer t...

Luc Gosso (MVP) | Sep 7, 2023 | Syndicated blog

Send Optimizely notifications with SendGrid API, not SMTP

If your Optimizely site already sends transaction emails through an email platform API, why not do the same with Optimizely notification emails?

Stefan Holm Olsen | Sep 6, 2023 | Syndicated blog

Optimizely Configured Commerce Custom POST API

Introduction When creating custom API controllers for an Optimizely B2B project it’s possible you’ll want to create POST calls. Following the...

Dylan Barter | Sep 6, 2023