New Copilot Enterprise features in VS Code (preview)

GitHub Copilot Enterprise users in Visual Studio Code can now get answers from Copilot Chat enriched with context from Copilot knowledge bases and Bing search results.

To get started, make sure you’re running the latest release of the GitHub Copilot Chat extension for VS Code, and then check out the docs.

Access your Copilot knowledge bases

You can now access your knowledge bases from any Copilot Chat conversation in VS Code by typing @github #kb, selecting a knowledge base from the list, and then entering your question.

Copilot will respond, using the Markdown documentation in your knowledge base as context for its answer. This allows Copilot Enterprise users to combine search results and internal documentation with editor context using existing chat variables like #file and #selection.

Search with the context of the web

GitHub Copilot can now search Bing within chat conversations in VS Code to answer questions and find information outside of its general knowledge or your codebase.

To get answers enriched with Bing search results, start your message with @github. Copilot will intelligently decide when to use Bing – or you can ask it to run a search by adding #web to your query. You can ask questions like @github What is the latest LTS version of Node.js?.

Bing search is only available if enabled by an administrator – for more details, see “Enabling GitHub Copilot Enterprise features”.

GitHub Copilot Enterprise subscribers in Visual Studio can now use Copilot Chat to get answers enriched with context from their entire repository (not just open tabs!) and Bing search results.

To try out this functionality, install Visual Studio 17.11 Preview 2, and then check out the docs.

Get answers from across your entire codebase

Copilot Chat can now answer questions with understanding of your full repository, not just the tabs you have open. Index your repository on GitHub.com, and then ask a question mentioning @github. You can ask questions like @github Where is device detection implemented?.

Search with the context of the web

GitHub Copilot can now search Bing to find information outside of its general knowledge or your codebase. When you mention @github, Copilot will intelligently decide when to use Bing. You can ask questions like @github What are the breaking changes in Next.js v14?.

Bing search is only available if enabled by an administrator – for more details, see “Enabling GitHub Copilot Enterprise features”.

See more

We’re excited to introduce enhancements to custom properties as well as updates to the push rule public beta.

Custom properties updates!

New property types

  • Multi select allows a repo to have more than one value for a property defined. Now a repository can have a property that defines a compliance requirement with values for FedRamp and SOC2, for example.
  • True/False allows you to set whether a given property is true or false for a given repository.

repository properties with multi select

Target rulesets by repository visibility and more

In addition to targeting repositories with the custom properties you’ve created, we’ve now extended property targeting to include the ability to target by:
Visibility: public, private, or internal
Fork: true, false
Language: select primary repository language.

System property targeting in a ruleset screenshot

Learn more in the custom properties documentation

What do you think? Start a discussion within GitHub Community.

Push rule delegated bypass public beta!

We are expanding on the push rule public beta with a new delegated bypass flow.

Previously to bypass push rules you had to be on the bypass list to push restricted content. Now with delegated bypass, contributors can propose bypassing a push rule and members of the bypass list can review those bypass requests to allow or deny the content.

Learn more about push rule delegated bypass in the repository rules documentation and join the push rule discussion in the GitHub Community.

Delegated bypass screenshot

See more