Docs: VS intellisense with doc comments from `file` attribute?

Created on 21 Feb 2019  ·  16Comments  ·  Source: dotnet/docs

Is there any way to get docs included with the file attribute way to show up as "intellisense"in VS 2017/2019, as it does when the comments are directly in the code file? For example as a tooltip when hovering a member at the point of use. It does not work for me when the doc is in a referenced xml file.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Area - C# Guide Technology - C# Language Reference P2 doc-enhancement

Most helpful comment

That's a nice idea @deap82

The very brief answer is that you'd have to build the XML file from the project to get the included text in the XML output. Then, if that file is delivered with the assembly, it gets displayed.

We should add a tutorial that covers ow to build this and consume it.

@gewarren Would this be something that should be covered in the VS docs, or is it better in the C# docs?

All 16 comments

That's a nice idea @deap82

The very brief answer is that you'd have to build the XML file from the project to get the included text in the XML output. Then, if that file is delivered with the assembly, it gets displayed.

We should add a tutorial that covers ow to build this and consume it.

@gewarren Would this be something that should be covered in the VS docs, or is it better in the C# docs?

@BillWagner It sounds like perhaps it makes more sense in the VS docs. I'll assign this to myself.

Thanks @gewarren.

can you mention me when you create the doc? I'll link to it from the pertinent docs in the C# Guide for better visibility.

@billwagner But what about a multi project solution where one of the projects has these included files and other projects in the solution uses it? Will that also work?

My use case is not an assembly being distributed to others.

@deap82 I don't know the answer right now. @gewarren and I will investigate.

@BillWagner Could you transfer this issue (use "Transfer issue" on right hand side) to MicrosoftDocs/visualstudio-docs? I don't seem to have permissions to transfer it.

@gewarren I can’t. I just looked and “transfer issue” doesn’t support transferring from one org (dotnet) to another (MicrosoftDocs)

We’ll have to do the old close and reopen. Do you want me to use Zendesk to do that?

@billwagner - That would be great; thanks!

Crud. That's not supported either. 😞

I think the only way is to manually move it between orgs, unfortunately.

@jillre This work should be done in the VS docs. I'm not sure if you want to track it with this issue or create a new issue in the VS repo.

@gewarren Where can I find the updated docs? Will that also solve my concern in comment from March 5th; https://github.com/dotnet/docs/issues/10633#issuecomment-469544447 ?

@gewarren Where can I find the updated docs? Will that also solve my concern in comment from March 5th; #10633 (comment) ?

Sorry for the confusion; by "should be done" I meant "should happen". That is, it hasn't happened yet...

Closing this issue since it's being tracked in the Visual Studio docs repo now. @deap82 You might want to subscribe to notifications on that issue.

image

@gewarren, I don't understand how to find that issue. Could you please provide a link?

@deap82 here's the issue in the visualstudio-docs repo: https://github.com/MicrosoftDocs/visualstudio-docs/issues/4279

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ygoe picture ygoe  ·  3Comments

garfbradaz picture garfbradaz  ·  3Comments

LJ9999 picture LJ9999  ·  3Comments

svick picture svick  ·  3Comments

sime3000 picture sime3000  ·  3Comments