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

[Request] QuickInfo for namespace documentation (on hover + member-list) #46443

Closed
TobiasSekan opened this issue Jul 30, 2020 · 2 comments
Closed
Labels
Area-External Resolution-Duplicate The described behavior is tracked in another issue

Comments

@TobiasSekan
Copy link

Version Used:
Microsoft Visual Studio Community 2019 Preview
Version 16.7.0 Preview 4.0

Steps to Reproduce:

  1. Create a new *.cs file
  2. Add a triple slash / one line over the namespace keyword
  3. Write between a text between /// <summary> and /// </summary>
  4. Hover over the latest namespace word (most right)

Code:

/// <summary>
/// All view-models from MVVM should be here
/// </summary>
namespace Test.Mvvm.ViewModel
{
}

Expected Behavior:
Show the namespace documentation when

  • hover over the namespace
  • when the namespace selected, in the member list

Actual Behavior:

  • Documentation isn't shown on hover
    2020-07-30 11_23_58-PowerCalculator - Microsoft Visual Studio Preview
  • Documentation isn't shown in the member list
    2020-07-30 11_24_56-PowerCalculator - Microsoft Visual Studio Preview

Possible problems:

  • Different documentations inside different files for the same namespace
@CyrusNajmabadi
Copy link
Member

Namespaces are not a valid xml location. You can see warning for that in the IDE:

image

If you wanted this to change, it would have to come through a language change at dotnet/csharplang.

@sharwell
Copy link
Member

sharwell commented Aug 4, 2020

Duplicate of dotnet/csharplang#315

@sharwell sharwell marked this as a duplicate of dotnet/csharplang#315 Aug 4, 2020
@sharwell sharwell closed this as completed Aug 4, 2020
@sharwell sharwell added Area-External Resolution-Duplicate The described behavior is tracked in another issue and removed Area-IDE labels Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

4 participants