-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
I don't think it can align the texts. |
Now it can. |
neo-cli/CLI/MainService.Plugins.cs
Outdated
@@ -107,7 +107,7 @@ private void OnPluginsCommand() | |||
foreach (Plugin plugin in Plugin.Plugins) | |||
{ | |||
if (plugin is Logger) continue; | |||
Console.WriteLine("\t" + plugin.Name + "\t" + plugin.Description); | |||
Console.WriteLine(string.Format("\t{0,-10}\t{1}", plugin.Name, plugin.Description)); |
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.
ApplicationLogs
has 15 characters.
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.
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.
Maybe {0,-15}
is better?
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.
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.
15 is better.
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.
Why revert? |
Text alignment
neo-project/neo-modules#453 (comment)