Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If there is possibility to add comments to C++ code in VS Code that are displayed in IntelliSense window?

I use Visual Studio Code for nearly half a year, and I actually wonder if in Visual Studio Code there is possibility of adding comments to C++ code that can be viewed while IntelliSense window for function is vieved.

Something like this, but in C++: Sample for other language

Do you know if it is possible and how it can be reached? What should be comment convention to have above effect?

Thank you in advance! :)

like image 318
BartekPL Avatar asked Oct 17 '25 10:10

BartekPL


1 Answers

Actually, as I and @Misiu checked, there isn't fully support of this feature.

But partial support of this functionality is provided in VS Code.

For clarity I list partial information about my computer and editor:

  • Ubuntu 16.04
  • VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:31:21.019Z)
  • OS version: Linux x64 4.4.0-116-generic

  • Extension(only connected with cpp) | Author (truncated) | Version

    • code-gnu-global | aus | 0.2.2
    • cpptools | ms- | 0.15.0
  • The only one setting connected with this addons:

    • "C_Cpp.intelliSenseEngine": "Default"

Sample of how it works:

enter image description here

like image 171
BartekPL Avatar answered Oct 20 '25 16:10

BartekPL