-
Notifications
You must be signed in to change notification settings - Fork 36.7k
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-coreEditor basic functionalityEditor basic functionalityupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstream
Description
Does this issue occur when all extensions are disabled?: Yes
Version: 1.99.3
Commit: 17baf84
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Linux x64 6.6.88-1-MANJARO
To Reproduce
- Add an "after member" comment to a member of a struct, enum, prototype parameter, #define, etc. using any of these options for the syntax:
/**< ... *//*!< ... *////<//!<
For example:
#define SCIGCR1_CONT 0x20000 //!< @brief SCI Continue on suspend
typedef enum
{
ECAP_FREE_SOFT_STOP = 0x0000U, ///< @brief counter stops immediately on emulation suspend
ECAP_FREE_SOFT_STOP_AT_ZERO = 0x4000U, /**< @brief counter runs until value equals 0 */
ECAP_FREE_SOFT_RUN = 0xc000U, /*!< @brief counter is unaffected by emulation suspend */
} ecap_free_soft_t;
struct line_hz_tick_range {
double hz; ///< @brief nominal line frequency
uint32_t ticks; //!< @brief eCAP1 ticks in period of nominal frequency
uint32_t ticks_min; ///< @brief eCAP1 ticks in period of longest matching period
uint32_t ticks_max; ///< @brief eCAP1 ticks in period of shortest matching period
};Expected
@briefand other Doxygen keywords should be highlighted asstorage.type.class.doxygen.c- Other comment text should be highlighted as
comment.block.documentation.corcomment.line.double-slash.documentation.c
Actual
Entire comment is highlighted as comment.block.c or comment.line.double-slash.c
Additional Info
This is somewhat related to microsoft/vscode-cpptools#5811
parmi93
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-coreEditor basic functionalityEditor basic functionalityupstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstream