Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text/plain+summary formatter #2614

Merged

Conversation

jonsequitur
Copy link
Contributor

@jonsequitur jonsequitur commented Jan 13, 2023

This adds support for a text/plain+summary formatter, to be used in the variable explorer and similar places where more concise plain text output is desirable.

This also reduces the indentation for multi-line plaintext output formatting.

@jonsequitur jonsequitur changed the title Formatting improvements text/plain+summary formatter Jan 13, 2023
@jonsequitur jonsequitur force-pushed the formatting-improvements-2023-01-12 branch from 178288f to 83b80b1 Compare January 14, 2023 00:20
@jonsequitur jonsequitur marked this pull request as ready for review January 18, 2023 20:10
@jonsequitur jonsequitur enabled auto-merge (rebase) January 18, 2023 21:15
return LocalName;
}

return $"{LocalName} - {LanguageName}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The local name is always displayed in VS Code, so this will lead to the C# display name being csharp - csharp - C# Script

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem to be the case:
image

@jonsequitur jonsequitur merged commit 23a91eb into dotnet:main Jan 18, 2023
@colombod colombod added the Area-Formatting Data and object formatting as HTML and plaintext label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Formatting Data and object formatting as HTML and plaintext
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants