NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
163 stars 36 forks source link

feat: replace slang cursor usage with queries #574

Closed antico5 closed 2 weeks ago

antico5 commented 3 weeks ago

Closes #547

The usage of queries doesn't seem to affect performance because the cursors were already fast, but it's definitely not a regression and they are much easier to use for what we need. The new code resulted simpler to understand and easier to extend. Specially if we need to make more complex queries in the future.