Skip to content

Commit

Permalink
Periscope issue54 1 (#56)
Browse files Browse the repository at this point in the history
For further details, see #54.
  • Loading branch information
zspitz authored Jul 15, 2021
1 parent 8521fcb commit c92f2c1
Show file tree
Hide file tree
Showing 105 changed files with 6,475 additions and 3,038 deletions.
175 changes: 175 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
root = true


[*.{cs,vb}]
indent_size = 4
indent_style = space
end_of_line = crlf
insert_final_newline = true

dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = false

dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_property = false:suggestion

dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:silent

dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent

dotnet_style_coalesce_expression = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_object_initializer = true:suggestion
dotnet_style_operator_placement_when_wrapping = end_of_line
dotnet_style_prefer_auto_properties = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion


# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_private_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_private_members_should_be_pascal_case.symbols = non_private_members
dotnet_naming_rule.non_private_members_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.private_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.private_members_should_be_pascal_case.symbols = private_members
dotnet_naming_rule.private_members_should_be_pascal_case.style = camel_case

dotnet_naming_ruke.non_private_fields_should_be_canel_case.severity = suggestion
dotnet_naming_ruke.non_private_fields_should_be_canel_case.symbols = non_private_fields
dotnet_naming_ruke.non_private_fields_should_be_canel_case.style = camel_case


# Symbols for use with naming rules

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum, delegate
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_private_members.applicable_kinds = property, method, event
dotnet_naming_symbols.non_private_members.applicable_accessibilities = public, internal, protected, private_protected, protected_internal

dotnet_naming_symbols.private_members.applicable_kinds = property, method, field, event
dotnet_naming_symbols.private_members.applicable_accessibilities = private

dotnet_naming_symbols.non_private_fields.applicable_kinds = field
dotnet_naming_symbols.non_private_fields.applicable_accessibilities = internal, protected, private_protected, protected_internal


# Naming styles

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_naming_style.camel_case.required_prefix =
dotnet_naming_style.camel_case.required_suffix =
dotnet_naming_style.camel_case.word_separator =
dotnet_naming_style.camel_case.capitalization = camel_case


[*.cs]
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = none
csharp_new_line_between_query_expression_clauses = true

csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_labels = one_less_than_current
csharp_indent_switch_labels = true

csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false

csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true

csharp_prefer_braces = true:warning

csharp_style_expression_bodied_constructors = true:suggestion
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion

csharp_prefer_simple_default_expression = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion

csharp_style_var_elsewhere = true:suggestion
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion

csharp_preferred_modifier_order = internal,protected,public,private,static,readonly,abstract,override,sealed,virtual:suggestion

csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion


[*.vb]
visual_basic_preferred_modifier_order = partial,default,private,protected,public,friend,notoverridable,overridable,mustoverride,overloads,overrides,mustinherit,notinheritable,static,shared,shadows,readonly,writeonly,dim,const,withevents,widening,narrowing,custom,async,iterator:silent
visual_basic_style_unused_value_assignment_preference = unused_local_variable:suggestion
visual_basic_style_unused_value_expression_statement_preference = unused_local_variable:silent
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,3 @@ healthchecksdb

/ANTLR4ParseTreeVisualizer.sln
_*
/PostBuild
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "Debuggee/Periscope.Debuggee"]
path = Debuggee/Periscope.Debuggee
url = https://github.com/zspitz/Periscope.Debuggee.git
[submodule "Visualizer/Periscope"]
path = Visualizer/Periscope
url = https://github.com/zspitz/Periscope.git
101 changes: 101 additions & 0 deletions ANTLR4ParseTreeVisualizer.Dev.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A346B5ED-12A8-4540-BBFD-5978AE196620}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
appveyor.yml = appveyor.yml
EndProjectSection
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Serialization", "Serialization\Serialization.shproj", "{E3B0367B-3649-4B77-878A-85A8A11C4C09}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Legacy", "Legacy", "{5F2046EA-A159-4673-B7B9-F1F3179C5D6C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Standard", "Standard", "{C0ADF39C-DD3F-4EBD-AC9C-7D1E5D5CD0A8}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Debuggee", "Debuggee\Debuggee.shproj", "{127B215F-F3F8-44DF-A2D1-9AAF95B3F8F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Legacy.Debuggee", "Legacy\Debuggee\Legacy.Debuggee.csproj", "{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Standard.Debuggee", "Standard\Debuggee\Standard.Debuggee.csproj", "{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "UI", "UI\UI.shproj", "{E2B06997-76F1-48DE-ABE6-CF90427423BB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Legacy.Debugger", "Legacy\Debugger\Legacy.Debugger.csproj", "{1E333B8D-7EE1-479B-AAE0-20A6744A03C4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Standard.Debugger", "Standard\Debugger\Standard.Debugger.csproj", "{74F8A769-77D2-4889-BB81-2FF397C220B9}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Visualizer", "Visualizer\Visualizer.shproj", "{3C553FFD-FA4E-4EAB-AD03-9534C7CB8F3E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_visualizerTest", "_visualizerTest\_visualizerTest.csproj", "{34D2CC07-B4FA-4CAE-8A90-2B3081B5B9A3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PostBuild", "PostBuild\PostBuild.csproj", "{B403610B-1A25-4BB8-8C63-BB6BDC9A6893}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Legacy.Package", "Legacy\Package\Legacy.Package.csproj", "{F09CFEBD-151C-487C-BC87-1EA68B5A4043}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Standard.Package", "Standard\Package\Standard.Package.csproj", "{D7950FB3-F80E-4249-99D1-F08E3A64CA0E}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Debuggee\Debuggee.projitems*{127b215f-f3f8-44df-a2d1-9aaf95b3f8f3}*SharedItemsImports = 13
Visualizer\Visualizer.projitems*{3c553ffd-fa4e-4eab-ad03-9534c7cb8f3e}*SharedItemsImports = 13
Debuggee\Debuggee.projitems*{ae5a655c-c17c-4fbb-be45-13e49a5c7bc8}*SharedItemsImports = 5
Serialization\Serialization.projitems*{ae5a655c-c17c-4fbb-be45-13e49a5c7bc8}*SharedItemsImports = 5
UI\UI.projitems*{e2b06997-76f1-48de-abe6-cf90427423bb}*SharedItemsImports = 13
Serialization\Serialization.projitems*{e3b0367b-3649-4b77-878a-85a8a11c4c09}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5}.Release|Any CPU.Build.0 = Release|Any CPU
{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8}.Release|Any CPU.Build.0 = Release|Any CPU
{1E333B8D-7EE1-479B-AAE0-20A6744A03C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E333B8D-7EE1-479B-AAE0-20A6744A03C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E333B8D-7EE1-479B-AAE0-20A6744A03C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E333B8D-7EE1-479B-AAE0-20A6744A03C4}.Release|Any CPU.Build.0 = Release|Any CPU
{74F8A769-77D2-4889-BB81-2FF397C220B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74F8A769-77D2-4889-BB81-2FF397C220B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74F8A769-77D2-4889-BB81-2FF397C220B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74F8A769-77D2-4889-BB81-2FF397C220B9}.Release|Any CPU.Build.0 = Release|Any CPU
{34D2CC07-B4FA-4CAE-8A90-2B3081B5B9A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34D2CC07-B4FA-4CAE-8A90-2B3081B5B9A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34D2CC07-B4FA-4CAE-8A90-2B3081B5B9A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34D2CC07-B4FA-4CAE-8A90-2B3081B5B9A3}.Release|Any CPU.Build.0 = Release|Any CPU
{B403610B-1A25-4BB8-8C63-BB6BDC9A6893}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B403610B-1A25-4BB8-8C63-BB6BDC9A6893}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B403610B-1A25-4BB8-8C63-BB6BDC9A6893}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B403610B-1A25-4BB8-8C63-BB6BDC9A6893}.Release|Any CPU.Build.0 = Release|Any CPU
{F09CFEBD-151C-487C-BC87-1EA68B5A4043}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F09CFEBD-151C-487C-BC87-1EA68B5A4043}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F09CFEBD-151C-487C-BC87-1EA68B5A4043}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F09CFEBD-151C-487C-BC87-1EA68B5A4043}.Release|Any CPU.Build.0 = Release|Any CPU
{D7950FB3-F80E-4249-99D1-F08E3A64CA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D7950FB3-F80E-4249-99D1-F08E3A64CA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D7950FB3-F80E-4249-99D1-F08E3A64CA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D7950FB3-F80E-4249-99D1-F08E3A64CA0E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{305BA350-A048-4BBE-8B0B-F41BD4A5E2E5} = {5F2046EA-A159-4673-B7B9-F1F3179C5D6C}
{AE5A655C-C17C-4FBB-BE45-13E49A5C7BC8} = {C0ADF39C-DD3F-4EBD-AC9C-7D1E5D5CD0A8}
{1E333B8D-7EE1-479B-AAE0-20A6744A03C4} = {5F2046EA-A159-4673-B7B9-F1F3179C5D6C}
{74F8A769-77D2-4889-BB81-2FF397C220B9} = {C0ADF39C-DD3F-4EBD-AC9C-7D1E5D5CD0A8}
{F09CFEBD-151C-487C-BC87-1EA68B5A4043} = {5F2046EA-A159-4673-B7B9-F1F3179C5D6C}
{D7950FB3-F80E-4249-99D1-F08E3A64CA0E} = {C0ADF39C-DD3F-4EBD-AC9C-7D1E5D5CD0A8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A2A19EFC-E356-4E97-8752-D94ABBE584B0}
EndGlobalSection
EndGlobal
31 changes: 0 additions & 31 deletions CI.sln

This file was deleted.

24 changes: 24 additions & 0 deletions Debuggee/Debuggee.projitems
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects Condition="'$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' &lt; '16.0'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>127b215f-f3f8-44df-a2d1-9aaf95b3f8f3</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>Debuggee</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\ConfigBase.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\ConfigDiffStates.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\ExceptionData.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\SubfolderAssemblyResolver.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\VisualizerObjectSourceBase.cs" />
<Compile Include="$(MSBuildThisFileDirectory)VisualizerDataObjectSource.cs" />
</ItemGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\.gitignore" />
<None Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\LICENSE" />
<None Include="$(MSBuildThisFileDirectory)Periscope.Debuggee\README.md" />
</ItemGroup>
</Project>
13 changes: 13 additions & 0 deletions Debuggee/Debuggee.shproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>127b215f-f3f8-44df-a2d1-9aaf95b3f8f3</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="Debuggee.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>
1 change: 1 addition & 0 deletions Debuggee/Periscope.Debuggee
Submodule Periscope.Debuggee added at 3a0714
Loading

0 comments on commit c92f2c1

Please sign in to comment.