-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from dassjosh/develop
V1.0.5
- Loading branch information
Showing
36 changed files
with
874 additions
and
622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
[*] | ||
|
||
# Microsoft .NET properties | ||
csharp_new_line_before_members_in_object_initializers = false | ||
csharp_preserve_single_line_blocks = true | ||
|
||
# ReSharper properties | ||
resharper_blank_lines_after_block_statements = 0 | ||
resharper_blank_lines_after_using_list = 1 | ||
resharper_blank_lines_around_block_case_section = 1 | ||
resharper_csharp_blank_lines_around_field = 0 | ||
resharper_csharp_blank_lines_around_invocable = 0 | ||
resharper_csharp_blank_lines_around_namespace = 0 | ||
resharper_csharp_blank_lines_around_single_line_invocable = 1 | ||
resharper_csharp_blank_lines_inside_region = 0 | ||
resharper_csharp_max_line_length = 600 | ||
resharper_keep_existing_attribute_arrangement = true | ||
resharper_keep_existing_enum_arrangement = false | ||
resharper_max_attribute_length_for_same_line = 70 | ||
resharper_place_expr_method_on_single_line = true | ||
resharper_place_expr_property_on_single_line = true | ||
resharper_place_simple_embedded_statement_on_same_line = false | ||
resharper_place_simple_initializer_on_single_line = false | ||
resharper_remove_blank_lines_near_braces_in_code = false | ||
resharper_space_within_single_line_array_initializer_braces = false | ||
resharper_wrap_object_and_collection_initializer_style = chop_always | ||
configure_await_analysis_mode = library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using CommandLine; | ||
using PluginMerge.Rename; | ||
|
||
namespace PluginMerge.Commands; | ||
|
||
[Verb("rename", HelpText = "Renames a framework class name to match the plugin class name")] | ||
public class RenameCommand : BaseCommand<RenameCommand> | ||
{ | ||
[Option('f', "file", Required = true, HelpText = "Path to the framework to rename")] | ||
public string FileName { get; set; } | ||
|
||
[Option('n', "name", Required = true, HelpText = "Name to change the framework to")] | ||
public string PluginName { get; set; } | ||
|
||
public override async Task Execute() | ||
{ | ||
await base.Execute().ConfigureAwait(false); | ||
|
||
RenameHandler handler = new(FileName, PluginName); | ||
CloseCode = await handler.Run().ConfigureAwait(false); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.