-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Incorrect "docs" generated from the Doxygen
in the hover
#10461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @H-G-Hristov . Would it be possible to provide an isolate repro? Using just the code you provided, I was unable to reproduce an issue. |
@Colengms I am getting another strange issue in the same project: It looks like a different extension is trying to render the documentation comments. This is my status bar in the same project as above: In this project I have CMake, Python, Shellscript, Swift (Xcode) code and Objective-C. |
@Colengms Please note how "Swift" appears in the namespace: This could be related also to the following issue I am complaining about: #10413 (comment) Hovering over the "Editor Language Status" displays:
|
Hi @H-G-Hristov . I think you're correct that you are seeing results from another extension. I'd guess that it's the Objective-C extension, but I'm not particularly knowledgeable about extensions other than the C/C++ Extension. You could try disabling one extension at a time, to identify which is generating those results. |
I set "C_Cpp.experimentalFeatures": "enabled", then I disabled the Swift extension https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang So basically I have two separate issues:
Do I need to report additional issue? What would be the way forward? In my project I have C++ and Swift code I'd like to have both extensions enabled. |
I believe the root cause of the doxygen hover bug with is due to #6020 , although it seems strange that it doesn't repro with Repro code is like: #include <vector>
#include <string>
/**
* @return std::vector<std::string>
*/
std::vector<std::string> func()
{
return std::vector<std::string>{};
} |
@sean-mcmanus Please also note on that screenshot how "Swift" appears between the filename "RegisterWithServer.hpp" and the namespace "nbnc" and if I click on it I see selectable items "Swift" and "C++" but if I select "C++" nothing changes really.
|
I'm able to repro the bug I mentioned at #10461 (comment) without the Swift extension. |
Fix available in pre-release https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.0. |
Fixed in release version https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.2. |
Type: Bug
The docs are rendered incorretly for the following header file:
Extension version: 1.14.1
VS Code version: Code 1.75.0 (Universal) (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:24:42.903Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: