Closed ghost closed 6 years ago
Hi, have you installed any of the "extended" solidity extensions? As they are causing problems.
I do not have solidity extended installed, although I did try it out but I have uninstalled it. I have also tried uninstalling and reinstalling the extension, as well as reinstalling VS Code. I am using windows.
Did you install it and then this issue happened?
No it was already happening before I installed solidity extension.
Have you tried to open only the ERC20 folder?
This is a wild shot btw..
Yes still doesn't work. Could it be something with my windows setup? I did install geth etc recently.
No geth won't affect this. I am releasing a new version with a higher number. I am thinking something is being left behind that causes this.
(From the extended)
It works fine on my mac, which I just installed VS Code and your extension.
Also, the default does not work with open-zeppelin: // Default directory where the Package Dependency store its contracts, i.e: 'src', 'contracts', or just a blank string '' "solidity.packageDefaultDependenciesContractsDirectory": "contracts",
// Default directory for Packages Dependencies, i.e: 'node_modules', 'lib' "solidity.packageDefaultDependenciesDirectory": "node_modules",
I have to do this in User Settings: "solidity.packageDefaultDependenciesContractsDirectory": "", "solidity.packageDefaultDependenciesDirectory": "",
It turns out in my C:\Users\ricox.vscode\extensions I had:
JuanBlanco.solidity-0.0.42 JuanBlanco.solidity-0.0.43.
2 solidity extensions for some reason. I deleted them and reinstalled and now the linting works!
@ricochen awesome thanks, great discovery work. I'll raise an issue (or if you want you are welcome) to vscode.
You can raise the issue and tag me!
Raised as above, it is by design as per comments. See the thread.
It worked fine a week/2 weeks ago, but right now the linter isn't working at all.