vscode-docomment icon indicating copy to clipboard operation
vscode-docomment copied to clipboard

First Line of Methods are Commented When Adding New Argument

Open DrakeLambert opened this issue 6 years ago • 0 comments

Steps to reproduce

  1. Write the following code:
/// <summary>
/// 
/// </summary>
/// <param name="test1"></param>
public void Test(int test1)
{ }
  1. Add an argument:
/// <summary>
/// 
/// </summary>
/// <param name="test1"></param>
public void Test(int test1, int test2)
{ }
  1. Use [ctrl + .] on test2 to add param notes.

The param notes will be added, but the method signature becomes commented out.

/// <summary>
/// 
/// </summary>
/// <param name="test1"></param>
/// <param name="test2"></param>
/// public void Test(int test1, int test2)
{ }

DrakeLambert avatar May 10 '18 21:05 DrakeLambert