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.

Trigger Sequence /** causes extra */ to be generated and the comment block isn't fully generated.

See original GitHub issue

Description

When using /** as the Trigger Sequence an extra */ is also generated because /* generates this. This doesn’t let the comment get fully generated as it blocks the parser (that is my guess.) If I change the Trigger Sequence to //* the extra */ isn’t generated and everything works fine.

This didn’t start happening until updated to version 1.35.0 of Visual Studio code. I also can not see a way to stop this extra */ from happening within Visual Studio Code.

Expected result

	/**
	 * \brief 
	 * 
	 * \param keyID 
	*/
	void PressedKey(const UInt32 &keyID)

Actual result

	/**
	 * \brief 
	 * 
	*/
	 */
	void PressedKey(const UInt32 &keyID)

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
cschlossercommented, Jun 17, 2019

Hi all,

thanks for the report.

This has actually been the case for quite some time now but previously we were able to overwrite and characters generated by VS Code. It seems now that the order of events changed and we can not rely on this. I will take a look at it and then see if we need a workaround for the /** style comments.

4reactions
hg-ztcommented, Jun 12, 2019

Found an easy workaround, add this line into your settings.json:

    "doxdocgen.c.triggerSequence": "///"

Now just type / three times and press return.

Note the trigger sequence is not necessarily same with the prefix of the generated comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 PL/SQL Triggers - Database - Oracle Help Center
A trigger is like a stored procedure that Oracle Database invokes automatically whenever a specified event occurs.
Read more >
SQL Server triggers: The good and the scary - Simple Talk
A trigger is a set of code that is evaluated when a data change is made to a table. Triggers may be defined...
Read more >
Troubleshoot common issues with triggers - Power Automate
If the field is empty, it means that there are no additional customizations and that the title of the card (in this case,...
Read more >
Sequential Logic Circuits and the SR Flip-flop
Electronics Tutorial about Sequential Logic Circuits including the NAND Gate SR Flip Flop which can be used as a Switch Debounce Circuit.
Read more >
Oscilloscope Systems and Controls: Functions & Triggering ...
Note that your oscilloscope probably has additional controls not ... Acquisition modes control how waveform points are produced from sample points.
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