Yet another formatter question #596
-
I am trying to write comments to functions and this drives me crazy that it's not working as I see in the videos.
I get
And I'd have to type in the * for each line. This drives my ocd to the max, any idea how I can fix this? not even sure where to start, I tried disabling the "solidity" extension and leaving just the "solidity + hardhat" extension in but didn't help. This is my settings json (deleted what is definitely not relevant here)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@iosifv The command style you want to use is a NatSpec style block commant that starts with |
Beta Was this translation helpful? Give feedback.
@iosifv The command style you want to use is a NatSpec style block commant that starts with
/**
and ends with*/
but the middle does not come automatically you have to give it yourself as you can see in the video here: https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=11h04m23s&ab_channel=freeCodeCamp.org