Todor more snippets - #2217
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates documentation pages to replace inline code blocks with reusable {{source=...}} snippet includes, centralizing examples in shared snippet files for easier maintenance and consistency across the docs set.
Changes:
- Replaced many embedded code fences (C#/JS/TS/JSON/bash/Razor) with
{{source=... region=...}}snippet references. - Normalized several docs sections’ indentation/formatting around snippet usage in ordered lists.
- Updated a few snippet source paths (e.g., MySQL/MsSql config examples) to point at newer snippet files.
Reviewed changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| report-items/chart-(obsolete).md | Replaces inline NeedDataSource handler sample with shared snippet regions (C#/VB). |
| embedding-reports/display-reports-in-applications/web-application/react-report-viewer/event-binding.md | Replaces inline event-handler example with a snippet include (but currently references an Angular snippet). |
| embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/localization.md | Replaces inline IIFE/localization code with shared snippet(s) and adjusts list formatting. |
| embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/how-to-pass-values-to-report-parameters.md | Swaps inline jQuery viewer initialization/update code for shared snippet regions. |
| embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md | Replaces large inline editor examples with snippet includes (JS + HTML). |
| embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/how-to-pass-values-to-report-parameters.md | Minor formatting cleanup (removes an extra blank line). |
| embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md | Replaces inline JS samples with shared snippet regions. |
| embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/client-events.md | Replaces inline client-event handler code with a shared snippet include. |
| embedding-reports/display-reports-in-applications/web-application/html5-asp.net-mvc-report-viewer/customizing/how-to-pass-values-to-report-parameters.md | Replaces inline parameter update code with a shared snippet include. |
| embedding-reports/display-reports-in-applications/web-application/html5-asp.net-mvc-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md | Replaces inline JS examples with shared snippet regions. |
| embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/use-blazor-report-viewer-with-rs-net.md | Replaces inline getPersonalAccessToken example with a shared snippet include. |
| embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/how-to-use-blazor-report-viewer.md | Replaces large inline Razor samples with shared snippet regions. |
| embedding-reports/display-reports-in-applications/web-application/angular-report-viewer/how-to-use-angular-report-viewer-with-angular-cli.md | Replaces inline ConnectionStrings JSON snippet with a shared snippet include. |
| designing-reports/report-designer-tools/web-report-designer/web-report-designer-initialization.md | Replaces multiple inline JS initialization/event samples with shared snippet regions. |
| designing-reports/report-designer-tools/web-report-designer/tools/objectdatasource-wizard.md | Replaces inline JSON config sample with a shared snippet include. |
| designing-reports/report-designer-tools/web-report-designer/overview.md | Replaces inline gulp custom ... command block with a shared snippet include. |
| designing-reports/report-designer-tools/web-report-designer/localizing-the-web-report-designer.md | Replaces inline setup snippet embedding with a shared snippet include and adjusts indentation. |
| designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application.md | Replaces inline Razor setup sample with a shared snippet include. |
| designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-framework-application.md | Replaces inline controller/route-registration code samples with shared snippet regions. |
| designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-data-providers/using-mysql-data-provider.md | Updates snippet source path for MySQL shared-connection config example. |
| designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-data-providers/using-microsoft-data-sqlclient-data-proivder.md | Replaces inline JSON samples with a shared snippet include (duplicated in two sections). |
| designing-reports/connecting-to-data/data-source-components/objectdatasource-component/connecting-the-objectdatasource-component-to-a-data-source.md | Replaces inline JSON assembly reference snippet with a shared snippet include. |
| ai-coding-assistant/mcp-server.md | Replaces inline JSON env examples with shared snippet includes for license configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
petar-i-todorov
approved these changes
Jun 25, 2026
petar-i-todorov
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, thanks for migrating the 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.
No description provided.