-
Notifications
You must be signed in to change notification settings - Fork 5
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
Two XML Doc warnings (+ quick fixes) when CS1591 is enabled #13
Comments
Thanks for your report. Will have a look at this... |
XML Doc Inspections Version: 2.4.0.583 🤔, something seems strange... before finding your plugin I was looking how to create the method's summary... Then on the issues in this GitHub I found that you implemented the /// shortcut to create it... was it implemented by jet brains as well or was it never yours?? Here is what happens
I actually never tried /// before installing the plugin, so I can't say that it was there before the plugin, but I definitely never saw "Add xml-doc comments" without it, and yet, for 1 project, it is still there O_O while the /// are for other projects. This is the project where I can see it double. And where I can still see it after uninstalling the extension, although just one option this time. Also, one more question, are checks disabled in "Program.cs"? I created a method there and one more in a different class, and I get the contextual option only on the method in the other class. The method in program.cs doesn't get the light-bulb nor on alt+enter, but /// works. |
Thanks for the repro code. Okay, the problem is that you actually get two warnings in your sample. One from XmlDocInsp and one from R# because you enabled XML Doc generation in the project settings: This emits the C# warning CS1591 (for public types/members). => R# shows two "Add xml-doc comments": One for XmlDocInsp's warning, one for CS1591. Another negative effect is that two suppressions are necessary ( One solution would be to disable CS1591 in the project settings ("Suppress warnings" option) because you use XmlDocInspections anyways. Further, I will think about this "conflict" between XmlDocInspections and CS1591 and will leave this issue open (and will rename it). |
Ahhh, yes... in my search for a summary generator I enabled that option expecting some magic to happen... Thanks for your quick response 😄 Also..., is the option "Add xml-doc comments" being generated somewhere else? or why when I uninstalled the plugin I could still see the option in that project? (leaving the XML Documentation option active) was it cached in some way? |
Nope, I don't think so. "Add xml-doc comments" is showed as (R# lingo) quick fix if But: The |
Hello!
I just found out about this plugin, but one question...
Currently using Rider 2018.1.
When I select the light bulb or alt + enter, I get 2 options with the same name and that perform the same action (at least how I see it). Is it normal??
Thanks for this awesome plugin 😀
The text was updated successfully, but these errors were encountered: