-
Notifications
You must be signed in to change notification settings - Fork 104
V1.3 features
You can now format Q# files. Either,
- Configure VS Code to format on save (see https://code.visualstudio.com/updates/v1_6#_format-on-save)
- Use
Format document
from the command palette - Use the
Alt + Shift + F
keyboard shortcut.
You can also select a block of code and format only the selection via the right-click menu (or the keyboard shortcut shown on that menu).
Formatting can be enabled/disabled through a checkbox on the VS Code settings for the Q# language:
Q# now has a linter! There are 3 rules in this first release, two that are on by default (and will show up as warnings in the editor). See the PR at https://github.com/microsoft/qsharp/pull/1140 for details on the rules and how to configure them. Example below:

You can now authenticate to an Azure Quantum workspace using a connection string, rather than AzureAD authentication. See the Azure Quantum documentation on how to enable and locate a connection string.
When you click to add a quantum workspace (see https://github.com/microsoft/qsharp/wiki/Submitting-jobs-to-Azure-Quantum), you will first be asked to choose between AzureAD or a Connection String to authenticate. If you select Connection String
, enter the connection string found from the Azure portal.
If you need to update the connection string, simply remove and re-add the workspace with the new connection string.