question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug when commenting macros (# is causing issues)

See original GitHub issue

Description

There is a small problem when documenting a macro.

  • The < #de > is removed from the macro definition
  • No line break is inserted after the comment

See code example below and screenshots attached

doxygen_bug doxygen_bug_result

Code example

/** <press enter>
#define MY_MACRO 1

Expected result

/**
 * @brief 
 * 
 */
#define MY_MACRO 1

Actual result

/**
 * @brief 
 * 
 */fine MY_MACRO 1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cschlossercommented, Jun 26, 2020

Hi @klonq123 @neocliff @samkearney ,

this will be fixed in 0.7.0 which I just triggered. The update should be visible in VS Code in ~15 minutes. Hope you’re still enjoying the extension and this makes your life a bit easier 😃

0reactions
samkearneycommented, Jun 26, 2020

@christophschlosser I am and it does! Thank you!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug in Word? Adding comments via macro does not work in ...
Hi,. I have a macro that adds a comment to the selected text in Microsoft Word. This seems to work, but in rare...
Read more >
1224660 – Macros shouldn't expand in comments
Bug 1224660 - Macros shouldn't expand in comments ... Macros are expanded everywhere, so check if it can cause a problem in this...
Read more >
Bug in macro comments feature.... | EverQuest Forums
I just started adding comments to my in-game macros (socials). ... is going to cause it to bug out (or attack that specific...
Read more >
comments cause errors? - Programming - SAS Communities
Solved: I have just [almost] went insane trying to debug my SAS program!! Luckily brighter minds prevailed :smileysilly:.
Read more >
399957 – Trailing comments behind macros are ... - Bugs - Eclipse
... is the second issue I've had with macros in the code causing formatting issues. It'd likely be a good idea to handle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found