Search code examples
visual-studiovisual-c++intellisensevisual-studio-2022xml-documentation

Visual Studio 2022 Intellisense XML documentation started failing


I've been working on a long and convoluted C++ project in Visual Studio 2022, so I've been making sure to comment as much as possible and have been using the XML documentation summaries for most every function.

These summaries are supposed to show up in IntelliSense when writing the function, and then the parameter summaries should show up when in the spot for that parameter.

Up until today everything had been working pretty much fine, it was always finnicky, but mostly it worked. Today however it all stopped showing up, so I tried following some recommendations from past posts, turning on or off the generation of an XML file, parameter information for C++, and restarting Visual Studio. Nothing has fixed it.

I have managed to find a random portion of my code in which summaries show up for some reason, but even there they're the wrong ones.

A function with a clearly visible summary above it, which doesn't show the summary

A function with a clearly visible summary above it, but which shows a completely different summary

Does anyone know of any way to fix this issue? I really need these summaries.

EDIT: Here's a screenshot of my C++ Intellisense settings My C++ Intellisense settings, they should all be on their default values


Solution

  • You can check settings in Tools > Options >Text Editor >C/C++ > Advanced > Intellisense: enter image description here If it doesn’t work you can try to Reset all settings under Tools > Import and Export Settings