question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for newlines in VSTS PRs

See original GitHub issue

I have been creating PRs using the VSTS CLI and love how simple it is. However, one of the biggest problems for me is that there’s no way to include newlines in the --description flag.

I’ve tried:

vsts pr create -s foo -t bar -d "Hello <br/> world"
vsts pr create -s foo -t bar -d "Hello \n world"
vsts pr create -s foo -t bar -d "Hello `n world"

all of which show up as plaintext in the VSTS PR rather than actual new lines. Here’s my (not great) workaround in VSTS: image

then I host a markdown file somewhere which has a rich description.

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tedchambcommented, Aug 20, 2018

@Koubek See my comment on June 4th. This issue has been left open because we plan to address it.

0reactions
tedchambcommented, Sep 7, 2018

Fixed in release 0.1.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a pull request to review and merge code - Azure Repos
Visual Studio 2019 | Visual Studio 2022. Create pull requests (PRs) to change, review, and merge code in a Git repository.
Read more >
Copying cope from PRs Files tab ignores line breaks
Hi team. I have a mac vsc and rider and when trying to copy code from the files tab on pull request, the...
Read more >
Find and replace with a newline in Visual Studio Code
Since VS Code release 1.3, the regex find has supported newline characters. To use this feature set the find window to regex mode...
Read more >
A Peek at Latest C# 11 Features Coming in November with ...
Visual Studio 2022 version 17.1: Generic attributes · Newlines in string interpolation expressions · List patterns. To try out the new features, ...
Read more >
Find and replace with a newline in Visual Studio Code
In the local searchbox ( Ctrl + F ) you can insert newlines by pressing Ctrl + Enter . multiple-line-support.gif (Local searchbox).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found