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
569 stars 60 forks source link

Context: Public StateChanging Methods highlights differently than Context: External Calls #110

Closed Namaskar-1F64F closed 1 year ago

Namaskar-1F64F commented 1 year ago

Clicking on the method on the Public StateChanging Methods view highlights the function body while the external calls button press highlights the entire function. This is a problem for me because the outline view isn't updated correctly.

https://cln.sh/9F4CqN

tintinweb commented 1 year ago

hey @Namaskar-1F64F, what would be the preferred way to highlight it?

Namaskar-1F64F commented 1 year ago

Good question. I think the whole function should be highlighted or possibly, none of the function should be highlighted but instead simply move the cursor to the function name.

Namaskar-1F64F commented 1 year ago

Awesome work, this functionality is a great solution:

https://cln.sh/EISydI