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!