John Raptis
John Raptis

Reputation: 197

How to stop Visual Studio 2019 from formatting my comments?

Okay, so, hopefully an easy question here... Visual Studio, using C++ ... and this is just an annoyance, but I've been putting up with it for three months now, it interrupts my workflow, and I just want it gone...

If I type the beginning of a block comment:

/*

...and press return, Visual studio "helpfully" starts adding asterisks on each line, like so:

/*
 *
 *
 *

And there doesn't appear to correlate with ANY of the options in the C++ text editor settings. Can someone clue me in on how to make it JUST STOP. Thank you.

Upvotes: 1

Views: 440

Answers (1)

John Raptis
John Raptis

Reputation: 197

Okay, there IS an answer, and I was able to find it by using different keywords: How to disable the automatic asterisk in Visual Studio when adding a multi-line comment in C#?

This answer is no longer correct, but the PROCESS is. For posterity: Export the settings, look for "continuecommentsonenter" and change it to false. Then import the settings again.

Upvotes: 1

Related Questions