Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add format specifier documentation links to DebuggerDisplayAttribute properties#11478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jeffhandley merged 2 commits intomainfromcopilot/fix-11288
Jun 20, 2025

Conversation

Copilot
Copy link
Contributor

@CopilotCopilotAI commentedJun 19, 2025
edited
Loading

Enhanced the documentation forDebuggerDisplayAttribute properties (Value,Name, andType) by adding information about format specifiers and links to the Visual Studio debugger format specifier documentation.

Changes Made

  • Value property: Enhanced existing remarks with comprehensive documentation about curly braces, field/property/method evaluation, and format specifiers, including a link to the format specifier syntax documentation
  • Name property: Expanded the existing curly brace documentation to include format specifier information and added the documentation link
  • Type property: Replaced "To be added" placeholder with complete documentation about curly braces and format specifiers, including the documentation link

All three properties now link to/visualstudio/debugger/format-specifiers-in-csharp for detailed syntax information, making it easier for developers to understand how to format debugger display strings.

Example Impact

Before: Users had to search for format specifier syntax documentation elsewhere.

After: Users can directly access format specifier documentation from each property's documentation page, learning about syntax like:

  • {fieldName} - displays field value
  • {propertyName,nq} - displays property value without quotes
  • {methodName()} - calls and displays method result

Fixes#11288.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Clickhere to start the survey.

…propertiesCo-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
@CopilotCopilotAI changed the title[WIP] There should be a link to syntax of string parameterAdd format specifier documentation links to DebuggerDisplayAttribute propertiesJun 19, 2025
Copilot finished work on behalf ofjeffhandleyJune 19, 2025 06:57
@CopilotCopilotAI requested a review fromjeffhandleyJune 19, 2025 06:57
@jeffhandleyjeffhandley marked this pull request as ready for reviewJune 19, 2025 07:19
@jeffhandleyjeffhandley requested a review froma team as acode ownerJune 19, 2025 07:19
@gewarrengewarren reopened thisJun 19, 2025
@jeffhandleyjeffhandley merged commit037167b intomainJun 20, 2025
7 of 8 checks passed
@jeffhandleyjeffhandley deleted the copilot/fix-11288 branchJune 20, 2025 01:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jeffhandleyjeffhandleyjeffhandley approved these changes

@gewarrengewarrengewarren approved these changes

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

There should be a link to syntax of string parameter
3 participants
@Copilot@jeffhandley@gewarren

[8]ページ先頭

©2009-2025 Movatter.jp