NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code

Home Page:https://hardhat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocompletion doesn't work if there's a line without the ; in the file

C0D3O opened this issue · comments

doesn't work
image
works
image

@moneyDev1111 thanks for reporting this. In general our completions are degraded if there are syntax errors in the file. Our current parser and binding analysis isn't robust to syntax errors.

This is a hard problem and Nomic's Slang team are building out the parser and compiler tooling we need to address it.