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.

Proposal: Ability not to auto-close comments

See original GitHub issue

As far as I can tell this is not currently available.

Oftentimes I need to comment out blocks of code and use /** and immediately a */ auto inserted resulting in one extra step. Not a huge deal by any means, but it would be a nice added feature to be able to turn off auto-closures on comments. Or maybe even in the configs an array of chars not to close? If nobody else feels this way though, probably not worth the effort. I suppose I am looking for input on this feature.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:49
  • Comments:27 (2 by maintainers)

github_iconTop GitHub Comments

39reactions
FereBlancocommented, Apr 3, 2019

Try this:

Open the extensions directory (\Microsoft VS Code\resources\app\extensions)

There open your languaje directory (C# for example, \csharp)

Edit the language configuration file (language-configuration.json)

From “autoClosingPairs” group delete the line for the comments: { “open”: “/*”, “close”: " */", “notIn”: [“string”] }

Save the file. It’s worling for me.

18reactions
RcSeppcommented, Jul 11, 2019

Could somebody just fix this already please? It is extremely annoying, having to type “/*” with the key sequence [/ * DEL DEL DEL].

Also, for the future I would recommend implementing the rule that all newly added auto-closing features need to …

  1. be disable-able by configuration.
  2. be disabled by default.

After all, in software engineering projects, adding new features that change the behavior in a way that requires adaption from the user (as is clearly the case here) should be avoided if possible and should only happen during mayor releases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature proposal: Close comment as resolved - LessWrong
Someone mentions it in a comment. The comment is upvoted as helpful. Author fixes the typo. Now there is a no-longer-useful comment in...
Read more >
Code Comments and Proposals - DHS - IN.gov
Upon receipt of this form, Commission staff will catalog and review your submission, and, if appropriate, work with the Commission in addressing the...
Read more >
Notice and Opportunities to Comment
Find requests from the Bureau for public comment on a wide variety of topics that inform its work.
Read more >
Comments - GoodNotes Support
We do not offer the ability to hide all comments at this stage. However, if you intend to close out conversations that has...
Read more >
Configure incidents to close automatically
Select the Enable auto closure of incidents based on Resolution date. Setting this to 'No' will make auto closure to run based on...
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