The answer to that is probably simple but I cannot find it on my own, I’m quite new with vscode/unreal.
I’d like vscode to show doxygen / documentation from UE header files while hovering function / props and whatnot. It works fine with my own code, but not with UE sources.
Here’s a simple example:
As you can see, I’m hovering AddMovementInput
, it shows the function signature just fine but not the documentation. What’s bellow was achieved by Peeking at the declaration.
While I can live with that small issue, I know it’s possible to show everything while hovering, without needing to peek at declaration - just not too sure how when it comes to UE sources.
The settings in my vscode cpp extension seems correct as I can pull my own doxygen info while hovering my own sources.
In case it has anything to do with c_cpp_properties.json
, here are the edits I’ve made:
"includePath": [
"${workspaceFolder}\\Intermediate\\**",
"${workspaceFolder}\\Source\\**"
],
"defines": [
"UNICODE",
"_UNICODE",
"__UNREAL__",
"UBT_COMPILED_PLATFORM=Windows",
"WITH_ENGINE=1",
"WITH_UNREAL_DEVELOPER_TOOLS=1",
"WITH_APPLICATION_CORE=1",
"WITH_COREUOBJECT=1"
]
Also, my root folder for my source code is different than where the engine is installed.
Any help would be greatly appreciated, I’ll make sure to reply if I ever find the solution myself. Thanks everyone.