-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Minor syntax fix #5737
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
Minor syntax fix #5737
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -354,7 +354,7 @@ internal XmlDocument BuildXmlFromComments() | |
| // The title is automatically generated | ||
| XmlElement title = _doc.CreateElement("maml:title", mamlURI); | ||
| string titleStr = string.Format(CultureInfo.InvariantCulture, | ||
| " -------------------------- {0} {1} --------------------------", | ||
| "\t\t\t\t-------------------------- {0} {1} --------------------------", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the use of tab a problem #6313?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't know. For this specific change, it keeps the original behavior because the removed whitespaces are essentially 4 tabs.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @SteveL-MSFT Could you please comment - is this related to #6313?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tabs in general are problematic as their size depends on the console. Try this on macOS or Linux: tabs 6,10,12
"a`tb`tc`td"If the intent of tabs in strings is to indent, I think it's better to just use four spaces. This PR is unrelated to #6313 expect for both related to behavior of tabs at the console.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I opened #6381 to track the review of the use of '\t' here. |
||
| HelpDisplayStrings.ExampleUpperCase, count++); | ||
| XmlText title_text = _doc.CreateTextNode(titleStr); | ||
| example_node.AppendChild(title).AppendChild(title_text); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daxian-dbw Why we have and keep
DefaultPathSeparatorduplication in our code?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know :) Maybe just legacy reasons.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened #6373 to track this.