Skip to content
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

Code cleanup moves comments #27

Open
matkoch opened this issue Aug 29, 2019 · 0 comments
Open

Code cleanup moves comments #27

matkoch opened this issue Aug 29, 2019 · 0 comments

Comments

@matkoch
Copy link
Collaborator

matkoch commented Aug 29, 2019

From: https://youtrack.jetbrains.com/issue/RSRP-475757

Beginning with the following code block:

        private static Dictionary<int, object> Diseases = new Dictionary<int, object>()
                                                              {
                                                                  { 1, null }, // 1
                                                                  { 2, null }, // 2
                                                                  { 3, null }, // 3
                                                                  { 4, null }, // 4
                                                                  { 5, null }, // 5
                                                                  { 6, null }, // 6
                                                                  { 7, null }, // 7
                                                              };

after reformat code:

        private static Dictionary<int, object> Diseases = new Dictionary<int, object>()
                                                              {
                                                                  { 1, null },
                                                                  { 2, null }, // 2
                                                                  { 3, null }, // 3
                                                                  { 4, null }, // 4
                                                                  { 5, null }, // 5
                                                                  { 6, null }, // 6
                                                                  { 7, null }, // 7
                                                                  // 1
                                                              };

after reformat code again:

        private static Dictionary<int, object> Diseases = new Dictionary<int, object>()
                                                              {
                                                                  { 1, null },
                                                                  { 2, null }, 
                                                                  { 3, null }, // 3
                                                                  { 4, null }, // 4
                                                                  { 5, null }, // 5
                                                                  { 6, null }, // 6
                                                                  { 7, null }, // 7
                                                                  // 2
                                                                  // 1
                                                              };

after reformat code again multiple times:

        private static Dictionary<int, object> Diseases = new Dictionary<int, object>()
                                                              {
                                                                  { 1, null },
                                                                  { 2, null },
                                                                  { 3, null },
                                                                  { 4, null },
                                                                  { 5, null },
                                                                  { 6, null },
                                                                  { 7, null }, // 7
                                                                  // 6
                                                                  // 5
                                                                  // 4
                                                                  // 3
                                                                  // 2
                                                                  // 1
                                                              };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant