Closed Bobface closed 4 years ago
Hi @Bobface,
please provide the source code and I'll investigate.
cheers, tin
I don't get them at all, doesn't matter the code I am looking at. For example looking at MakerDAO's dss they don't show up.
🤔
mode.active
and codelense.enable
are enabled in code -> preferences -> settings.thanks @Bobface
Both options are enabled and there is no error popup. There is an error in the developer console though which seems to be related to the Codelenses:
Hello, I'm experiencing same symptoms. And problem looks to be very similar if no the same. M aybe some additional logs will be of use.
I'm getting the same error as bobface "Cannot read property 'contracts' of undefined" when opening .sol file file. But i do get aditional errors when trying to run surya graph functionality. All of the errors say "no such file or directory, open" regarding the smart contract file.
Thanks for the stacktrace @Bobface @Arnas-Kucinskas. will look into this asap!
vscode and path separators on windows.. what a mess 🙄 you might want to use it on macos in the meantime until I am done with cleaning up the os dependant parts :D
@Bobface, here's a preview version of the windows compatible visual auditor extension. Let me know if that fixes your problem and I am going to publish it pending some cross OS tests.
solidity-visual-auditor-0.0.21.vsix (Save Link As -> .vsix; remove the .png extension!)
@tintinweb It works, thank you!
I have just freshly installed the plugin on Windows 10 VS Code. The codelenses are not showing up for me. I have installed Surya and Graphviz before.
I saw that there is a bug mentioned about codelenses not showing up. So I changed the file and saved it to trigger a reload but it doesn't help. Also uninstalled / reloaded the plugin multiple times. The settings for codelenses are enabled.
I'm not sure what exactly I need to post so you can investigate, just let me know.