vscode-docomment
vscode-docomment copied to clipboard
Incorrect comments generation for variables and method calls
Hello! It's can be fixed?

For this case must be
using System;
namespace EleWise.ELMA.Core.Model
{
public class TestClass
{
public void Main()
{
///
var prop = "";
///
Console.WriteLine(prop);
}
}
}
I know how to fix second case (Console.WriteLine). Just delete this line of code
Thanks @SteamUpdate ,
This is a deep problem, I can not fix it with the current architecture. We need to add AST, which makes the extension very heavy. This is an important issue, please do not close it. 🙇♂️
I might not be up to date with a certain feature here, but does C# even care about documentation comments within a method body? I don't think these will get picked up anywhere to begin with. Still an annoying issue, but IMHO not vital.