Generate XML documentation from DocumentationAttribute for IDE IntelliSense#12
Closed
Generate XML documentation from DocumentationAttribute for IDE IntelliSense#12
Conversation
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add readable rendering for Documentation Attribute in hover tooltips
Generate XML documentation from DocumentationAttribute for IDE tooltip support
Feb 11, 2026
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Generate XML documentation from DocumentationAttribute for IDE tooltip support
Add test project for automated PR validation
Feb 11, 2026
…tion Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Add test project for automated PR validation
Convert XmlDocGenerator to MSBuild SDK package for automatic NuGet distribution
Feb 11, 2026
…d markdown Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Convert XmlDocGenerator to MSBuild SDK package for automatic NuGet distribution
Fix XML doc generation targeting wrong output directory
Feb 11, 2026
… projects Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Fix XML doc generation targeting wrong output directory
Document IDE behavior: XML docs only visible to library consumers, not source developers
Feb 11, 2026
…pdate tool path Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Document IDE behavior: XML docs only visible to library consumers, not source developers
Fix XML documentation generation from DocumentationAttribute for IDE tooltips
Feb 11, 2026
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Fix XML documentation generation from DocumentationAttribute for IDE tooltips
Enable DocumentationAttribute to generate XML documentation for IDE tooltips and add test suite
Feb 11, 2026
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Enable DocumentationAttribute to generate XML documentation for IDE tooltips and add test suite
Auto-generate IDE documentation from DocumentationAttribute
Feb 11, 2026
…mentationAttribute Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
…consumers Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
…lean code Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
…iSense system Co-authored-by: omegaleo <5655201+omegaleo@users.noreply.github.com>
Copilot
AI
changed the title
Auto-generate IDE documentation from DocumentationAttribute
Generate XML documentation from DocumentationAttribute for IDE IntelliSense
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Custom attributes don't render in IDE tooltips. The
DocumentationAttributecontains rich metadata (description, parameters, examples) but IDEs show only the raw attribute syntax since they require XML documentation files.Implementation
XmlDocGenerator MSBuild Package
DocumentationAttributefrom compiled assemblies<summary>,<remarks>,<example>elementsAfterTargets="Build"to process final output assembliesIntegration Points
XmlDocGeneratorLocal.props- Local development (path resolution for net9.0 runtime)build/*.targets- NuGet consumer integration via MSBuild extensibilityOmegaLeo.HelperLib.Documentationpackage dependency - transitive installationTest Infrastructure
XML Generation Example
Configuration Updates
<GenerateDocumentationFile>true</GenerateDocumentationFile>to Changelog and Game projects (missing baseline XML generation)$(IntermediateOutputPath)to$(TargetDir)(IDEs read from bin, not obj)Behavior
Library developers (ProjectReference): IDEs show source code, attributes visible in context
Package consumers (DLL reference): IDEs read XML files, rich IntelliSense from DocumentationAttribute
Works with Visual Studio, Rider, VS Code. Zero configuration for consumers - MSBuild targets auto-import from NuGet package cache.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.