qsharp-compiler icon indicating copy to clipboard operation
qsharp-compiler copied to clipboard

Symbol renaming in Visual Studio Code extension is not working

Open ricardo-espinoza opened this issue 1 year ago • 0 comments

Describe the bug

In a Q# project, using the context menu option to rename a symbol in a .qs file (for example a Q# function or variable name) results in an error indicating that it couldn't be found, and no renaming happens.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new Q# Application project.
  2. In the Q# code file, add a function and then call into it from different functions in the file.
  3. Using right-click and the context menu, select "Rename" and enter a new name.
  4. Enter

Expected behavior

All instances of the symbol in the file get renamed.

System information

  • This has been observed in 0.25.218240 and newer, but exact version where this started happening hasn't been determined.

ricardo-espinoza avatar Jul 30 '22 00:07 ricardo-espinoza