[record_use] Use update_snippets.dart#3087
Merged
auto-submit[bot] merged 1 commit intomainfrom Feb 12, 2026
Merged
Conversation
PR HealthLicense Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with Breaking changes ✔️
This check can be disabled by tagging the PR with |
441414f to
e7fed9b
Compare
e7fed9b to
d1008a4
Compare
- Add `pkgs/record_use` to `update_snippets.dart`. - Support multiple snippets per file using `#anchor` in `update_snippets.dart`. - Strip snippet markers from extracted snippets in `update_snippets.dart`. - Implement dedenting in `update_snippets.dart` to fix snippet indentation. - Add `pkgs/record_use/example/api/usage.dart` and `usage_link.dart` with source for snippets. - Update `record_use` documentation to use snippets with pirate-themed examples. - Use abstract classes and static methods for recording examples (instance calls not supported). - Ensure all `@RecordUse()` annotations use parentheses. - Add `<!-- no-source-file -->` to conceptual docs in `record_use`. - Fix inaccurate documentation regarding annotations and doubles. - Simplify API doc comments with direct usage examples and intent-signaling comments. - Remove outdated `Limitations` section from `README.md`.
d1008a4 to
81a0989
Compare
Hassnaa9
pushed a commit
to Hassnaa9/native
that referenced
this pull request
Feb 13, 2026
Fix the doc comments in this package. * Fixes the docs to be up to date with current usage. * Adds a pirate themed API doc. * Ignores the use cases for now. * In the future we should make these full fledged examples in the examples/ dir. * Makes the snippets tool more powerful with anchors and nested snippets.
Cairo09
pushed a commit
to Cairo09/native
that referenced
this pull request
Feb 13, 2026
Fix the doc comments in this package. * Fixes the docs to be up to date with current usage. * Adds a pirate themed API doc. * Ignores the use cases for now. * In the future we should make these full fledged examples in the examples/ dir. * Makes the snippets tool more powerful with anchors and nested snippets.
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.
Fix the doc comments in this package.