Azure Repos - Sprint 152 Update

Features

Filter by target branch in pull requests (PRs)

Pull requests let your team review code and give feedback on changes before merging them into the master branch. They have become an important part of many teams’ workflows since you can step through proposed changes, leave comments, and vote to approve or reject code changes.

To make it easier for you to find your pull requests, we added a filtering option to let you search for PRs using the target branch.

Azure Pipelines pull request filtering.

You can also use the target branch filtering to customize the pull requests view in the Mine tab.

Customize pull request in Mine tab.

Allow extensions to add syntax highlighting and autocomplete

Currently, we publish syntax highlighting for a subset of languages supported by the Monaco editor. However, many of you want to create your own syntax highlighting for languages that we don’t support.

With this update, we added an extensibility point that allows extensions to add syntax highlighting and autocomplete to the file explorer and pull requests views.

You can find an example of an extension demonstrating this feature here.

In addition, we added support for Kusto language syntax highlighting.

Manage git references from the command line

With the Azure Repos ref command, you can now create, list, delete references (branch/tag) and also lock or unlock a branch reference. This makes it easier to tag a commit ID without having to checkout the whole repository when working with Azure Repos from the command line.

For more details on the commands and its syntax, see the documentation here.

Update repository name and default branch from the command line

Now you can update the repository name as well as the default branch of a repository using the Azure Repos update command. For example, if you wanted to update the name of the Service repository to ContosoService and set the default branch to development, you could run this command: az repos update --repository "Service" --name "ContosoService" --default-branch "development"

For more details see the documentation here.

Next steps

Note

These features will roll out over the next two to three weeks.

Head over to Azure DevOps and take a look.

How to provide feedback

We would love to hear what you think about these features. Use the feedback menu to report a problem or provide a suggestion.

Make a suggestion

You can also get advice and your questions answered by the community on Stack Overflow.

Thanks,

Todd Manion