Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant