Repository navigation
FS-1341 - XML <include> and <inheritdoc> support - #827
Merged
Merged
Conversation
This RFC proposes adding support for the <include> and <inheritdoc> XML documentation tags in F#, aligning it with C# capabilities. It details the design, motivation, and potential drawbacks of the implementation.
6 tasks done
Number: FS-1337 was taken (merged on main + open PR #832); 1338/1340 are reserved by open PRs #828/#834; next free across main + open PRs is 1341. Content: fills the required template sections and states C#-parity emit semantics (compiler expands <include>, leaves <inheritdoc/> raw for IDE/tooling), include path resolution + XPath 1.0 + recursive nesting, inheritdoc resolution order and tag-merge precedence, .fsi authority, language-version (ungated), CS1589/1590/1592 diagnostics, and interop. No em-dashes; header checkboxes per template; converged multi-model review. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The <include> support resolves only at --doc emit time; in-editor Quick Info does not expand includes yet. Record that as an unresolved question rather than claiming it as implemented. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
This RFC proposes adding support for the
<include>and<inheritdoc>XML documentation tags in F#, aligning it with C# capabilities.Click “Files changed” → “⋯” → “View file” for the rendered RFC.