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

using statement marked as not used when it is used inside comment #26318

Closed
vsfeedback opened this issue Apr 22, 2018 · 1 comment
Closed

using statement marked as not used when it is used inside comment #26318

vsfeedback opened this issue Apr 22, 2018 · 1 comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Resolution-Duplicate The described behavior is tracked in another issue
Milestone

Comments

@vsfeedback
Copy link

vsfeedback commented Apr 22, 2018

While documenting a class, I added a triple-slash comment at its head and included a <see cref="ModuleDeclarationBlock"/> within it. This failed to autocomplete while typing and also didn't highlight correctly until the relevant using was added. However, the using statement added is greyed out and is removed if the "Remove and Sort Usings" option is used.

I appreciate that the using statement is only required to satisfy the requirements of a comment and is not used in any code, but I think it should not be flagged as unused since it has an impact on the appearance and usability of the editor.

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/232794/using-statement-marked-as-not-used-when-it-is.html
VSTS ticketId: 599160

These are the original issue comments:
(no comments)
These are the original issue solutions:
(no solutions)

@jinujoseph jinujoseph added Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Area-IDE Developer Community The issue was originally reported on https://developercommunity.visualstudio.com labels Apr 22, 2018
@jinujoseph jinujoseph added this to the Unknown milestone Apr 22, 2018
@jinujoseph jinujoseph changed the title using statement marked as not used when it is using statement marked as not used when it is used inside comment Apr 22, 2018
@sharwell
Copy link
Member

Duplicate of #2773

@sharwell sharwell marked this as a duplicate of #2773 Apr 22, 2018
@sharwell sharwell added Resolution-Duplicate The described behavior is tracked in another issue and removed help wanted The issue is "up for grabs" - add a comment if you are interested in working on it labels Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

3 participants