Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect comments generation for variables and method calls #70

Open
SteamUpdate opened this issue Jul 19, 2018 · 3 comments
Open

Incorrect comments generation for variables and method calls #70

SteamUpdate opened this issue Jul 19, 2018 · 3 comments
Assignees
Labels

Comments

@SteamUpdate
Copy link

Hello! It's can be fixed?

vscode wrong comments

For this case must be

using System;

namespace EleWise.ELMA.Core.Model
{
    public class TestClass
    {
        public void Main()
        {
            ///
            var prop = "";
            ///
            Console.WriteLine(prop);
        }
    }
}
@SteamUpdate
Copy link
Author

I know how to fix second case (Console.WriteLine). Just delete this line of code

@kasecato kasecato self-assigned this Jul 28, 2018
@kasecato kasecato added the bug label Jul 28, 2018
@kasecato
Copy link
Owner

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. 🙇‍♂️

@gruberr
Copy link

gruberr commented Mar 31, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants