hardhat-vscode
hardhat-vscode copied to clipboard
Extremely frequent reload window required to keep go-to-definition and other features in sync with editor contents
When developing solidity projects I have to reload window after almost every edit in order to keep various features like go-to-definition consistent with the content of the editor. For example, if I command-hover (on a mac obviously) over a function call site immediately after a reload-window, the correct function definition appears in the info window and/or if I then command-click, I end up at the right definition site. If I then edit the content by adding a new line of code, making lets say a new function call, the command-hover will not reflect the newly added line, and the info window that comes up when hovering over the new line of code that calls some other function will continue to show the info for the function call that was previously at the line number of the newly added line. Only a reload-window fixes the issue.