Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Symbol renaming in Visual Studio Code extension is not working #1500

Open
@ricardo-espinoza

Description

@ricardo-espinoza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtracking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions