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

Renaming symbol stopped working with flow v0.201.0 #457

Open
FlyingGuru opened this issue Jul 9, 2024 · 0 comments
Open

Renaming symbol stopped working with flow v0.201.0 #457

FlyingGuru opened this issue Jul 9, 2024 · 0 comments

Comments

@FlyingGuru
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant