vscode-solidity
vscode-solidity copied to clipboard
@return is not styled properly if there are multiple return statements
Test case:
The c and d should be highlighted.
https://github.com/juanfranblanco/vscode-solidity/blob/master/syntaxes/solidity.json#L110-L124
This may need to match the regex for params
It's a little more complicated. The @return only gets a name parameter if the return value has a name in the returns(...)block.
This is distinct from @param where it always has a name.
Yeah, so I guess there is not a simple true way to do this, as you may have also anonymous return parameters. Ill mark it as help wanted as it is not a big priority.