In MonoDevelop, how to disable verbose comment generation as you type ///

This is more a MonoDevelop question. I really like to use '///' and get the skeletal outline of comments, like VisualStudio. But I do not like to have additional filler text, which is provided by default, because it does not add any real meaning (it just repeats what I already typed!). For life, I cannot find a way to preserve the generation of XML comments, but not have additional text. An error report was found that was fixed for this problem ( https://bugzilla.novell.com/show_bug.cgi?id=606222 ), but I did not see where the option should go.

All I want to create:

/// <summary> /// /// </summary> /// <param name="bar"></param> public void Foo(string bar) { } 

TL DR;

Is there (and where is) MonoDevelop the ability to disable detailed auto-generated comments, but save /// template comments for method headers?

Thanks.

+4
source share
1 answer

Not supported. I am pretty sure that the solution to the complaints was that there would be two steps to cancel so that you can easily delete the automatically filled values.

Adding options - slippery slope. For example, you can:

 /// <summary> /// /// </summary> /// <param name="bar"></param> public void Foo(string bar) { } 

But I might want

 /// <summary></summary> public void Foo(string bar) { } 

And someone might want

 /// <summary></summary> /// <param name="bar"></param> public void Foo(string bar) { } 

The user interface to support this will be very complex, and MD already has too many options, so there is a lot to do for each new option. The behavior may not be ideal for everyone, but it's pretty good, and setting up the created documents is still much easier than typing them from scratch.

However, the add-on that generates comments is open source , so you can easily change it however you want.

0
source

Source: https://habr.com/ru/post/1411526/


All Articles