You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code Completion in Visual Studio for qs files will not recognize operations in included namespaces like the Intrinsic namespace. This is with editing a qs file that is not part of a project.
To Reproduce
Create a qs file and open the file in Visual Studio. The file should not be in a project. Begin a namespace and open Microsoft.Quantum.Intrinsic namespace. Begin an operation. In the operation try to type 'X' for the X operation.
Auto-complete will suggest PauliX rather than the X operation, and ignoring the suggestions and typing '(' to begin the argument list for the X operation will result in the suggestion for the PauliX replacing the intended operation X call.
Expected behavior
The X operation should be suggested because the opened namespace should be compiled ahead of time. Or the suggestions should not appear for a qs file not in a project. Or the suggestions should not automatically replace what you are typing.
Describe the bug
Code Completion in Visual Studio for qs files will not recognize operations in included namespaces like the Intrinsic namespace. This is with editing a qs file that is not part of a project.
To Reproduce
Create a qs file and open the file in Visual Studio. The file should not be in a project. Begin a namespace and open Microsoft.Quantum.Intrinsic namespace. Begin an operation. In the operation try to type 'X' for the X operation.
Auto-complete will suggest PauliX rather than the X operation, and ignoring the suggestions and typing '(' to begin the argument list for the X operation will result in the suggestion for the PauliX replacing the intended operation X call.
Expected behavior
The X operation should be suggested because the opened namespace should be compiled ahead of time. Or the suggestions should not appear for a qs file not in a project. Or the suggestions should not automatically replace what you are typing.