简体   繁体   中英

How to retain simple TFS check-in comment formatting when entered in VS2015

Is it possible to retain simple formatting like newlines in a TFS check-in comment entered in VS2015 but viewed using the web interface?

For example, in VS2015 I enter:

Fixed yadda, yadda, yadda:
- added validation to check for X
- added confirmation dialog to ask User if the want to continue despite X
- etc

But in the TFS web interface, it displays as:

Fixed yadda, yadda, yadda: - added validation to check for X - added confirmation dialog to ask User if the want to continue despite X - etc

And the longer the comment, the bigger the unbroken blob of text in the web interface.

If you enter the same formatted comment in the web interface instead of VS, it retains the formatting.

I know it has to do with HTML vs text and the \\n in the text provided by VS isn't converted to an HTML linebreak(or whatever it uses) in the web interface, but is there anything that can be done?

Thanks.

Edit I'm entering this comment into the field on the Pending Changes window, not the full page Task window. Also, using TFS 2013.

I tested with my TFS2015.3 + VS2015.3, the format of check-in comment is the same as in VS. Check the screenshot below:

在此输入图像描述


Adding a screenshot:

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM