Skip to content

Incorrect "docs" generated from the Doxygen in the hover #10461

Closed
@H-G-Hristov

Description

@H-G-Hristov

Type: Bug

The docs are rendered incorretly for the following header file:

#pragma once

#include <string>
#include <string_view>

#include <tl/expected.h>

namespace nbnc::register_with_server {

/**
 * @brief A simple a ADM user data property list configuration parser.
 *
 */
class IAdmInstallUserDataPlist
{
public:
    virtual ~IAdmInstallUserDataPlist() = default;

public:
    /**
     * @brief Checks if there is a plist content loaded.
     * @details The function doesn't guarantee that the loaded plist is a valid `launchd` plist.
     *
     * @return true - if there is a plist
     * @return false - if there is none.
     */
    [[nodiscard]] virtual bool IsValid() const noexcept = 0;

    /**
     * @brief Loads a `launchd` plist from file.
     * @details Use this method to read binary and text plists.
     *
     * @param filepath A full path to a plist file.
     */
    virtual tl::expected<void, std::string> LoadFromFile(std::string_view filepath) noexcept = 0;

public:
    /**
     * @brief Gets the value for `ActivationKey` key.
     * @details This optional key is used to control whether your job is to be kept continuously running or to let
     * demand and conditions control the invocation.
     *
     * @return tl::optional<std::string>
     */
    [[nodiscard]] virtual tl::optional<std::string> GetActivationKey() const noexcept = 0;

    /**
     * @brief Gets the value for `ADID` key.
     * @details  This optional key is used to control whether your job is to be kept continuously running or to let
     * demand and conditions control the invocation.
     *
     * @return tl::optional<std::string>
     */
    [[nodiscard]] virtual tl::optional<std::string> GetAdidKey() const noexcept = 0;
};

}  // namespace nbnc::register_with_server

Screenshot 2023-02-03 at 16 21 47

Screenshot 2023-02-03 at 16 21 37

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
Item Value
CPUs Apple M1 Pro (8 x 24)
GPU Status 2d_canvas: enabled
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
Load (avg) 2, 1, 1
Memory (System) 16.00GB (0.78GB free)
Process Argv --crash-reporter-id a7eaff19-94ae-4653-b917-d9aaab19da5d
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30577860
nodejswelcome1cf:30587006
3biah626:30602489
pyind779cf:30657577
89544117:30613380
pythonsymbol12cf:30657549
a9j8j154:30646983

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Doc commentsAn issue related to code comments shown in hover, completion, and signature help.Language ServiceWorks in VSSo we'd need to fix it for VS Code to reach parity.bugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions