qsharp-compiler
qsharp-compiler copied to clipboard
Symbol renaming in Visual Studio Code extension is not working
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:
- Create a new Q# Application project.
- In the Q# code file, add a function and then call into it from different functions in the file.
- Using right-click and the context menu, select "Rename" and enter a new name.
- 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.