-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Add a switch for exporting settings #19
Conversation
As suggested by #6
@@ -208,6 +214,37 @@ static bool SetDefaults(uint[] colorTable) | |||
return true; | |||
} | |||
|
|||
static bool ExportCurrentAsIni(string outputPath) |
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.
Since there are multiple ways we may want to export, it would be nice to have some interface we could program against (ie ISchemeExporter
in contrast to ISchemeParser
) so ini, iterm, etc could be used
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.
Indeed, exporting to .itermcolors should be possible, not only to .ini
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.
So as to not back up this code review any longer, I'm going to "Won't Fix" this and link it to the new issue #160.
My goal at this moment is to clear this backlog of pulls. Thanks.
tools/ColorTool/ColorTool/Program.cs
Outdated
} | ||
else | ||
{ | ||
Console.WriteLine("Failed to get conosle information."); |
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.
Typo "conosle" should be "console"
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.
Fixed.
Add optimization for search
As suggested by #6.
colortool -o <filename>
will write the current properties to<filename>
, in ini file format.