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

Renaming symbol stopped working with flow v0.201.0 #457

@FlyingGuru

Description

@FlyingGuru

After updating flow from v0.200.1 to v0.201.0 the rename functionality in VSCode stopped working unless there is a flow comment at the top of the file. I have tried several releases after 201 and just tried v0.239.1 with the same result.

I have tested a minimal repository with only flow installed (a single js file and an empty flowconfig) with the same results. I tried another flow extension called vscode-flow-ide and it works as expected.

I set flow to verbose logging and got the following output:

`
[Trace - 2:19:02 PM] Sending request 'textDocument/rename - (61)'.
Params: {
"textDocument": {
"uri": "file:///home/username/testFlow/a.js"
},
"position": {
"line": 7,
"character": 0
},
"newName": "b"
}

[Trace - 2:19:02 PM] Received response 'textDocument/rename - (61)' in 3ms.
Result: {
"changes": {}
}
`

Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions