How to use/setup Quick Fixes for vscode (c++)?

Viewed 108

How do I use or setup Quick Fix in vscode for c++ scripts? enter image description here

The error in the above code is that strcpm is supposed to be strcmp. When I right-click/Ctrl+. on the error, the option for Quick Fix is there which expands to: enter image description here

I assume there is supposed to be more? the suggested resolutions perhaps?

1 Answers

Im running into the same problem basically most other IDEs provide some sort of suto fix feature. Like for example if you accidentally used the wrong library command however vscode doesnt have a ything built in... im looking at the extension sonar lint right now dont know where it would lead. I also heard of clangd. I dont know how to set it up however.

Related