Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
GNU General Public License v3.0
572 stars 60 forks source link

Annotations appear on words in comment blocks #3

Closed akuanti closed 5 years ago

akuanti commented 5 years ago

The extension appears to be treating comment blocks as code. For example, if I have a block like

/**
@dev An example for this issue
*/

then hovering over the word "for" gives me an annotation about LOOP - check for OOG conditions. Similarly, I get one when hovering over the word "this."

tintinweb commented 5 years ago

thanks @akuanti! for performance reasons the hover decorator is treating everything as text. I'll keep this in the backlog and fix it when I have some time for it.

thx for reporting!