From 3889b1e8558157f484dbdad3f73d163a1019ab0c Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Tue, 11 Jan 2022 23:19:11 +0100 Subject: [PATCH 1/2] Improve project setup for IntelliJ IDEA This commit improves project setup for IntelliJ IDEA by adding code style and inspection profile project files to version control. See gh-29446 --- .gitignore | 5 +- .idea/codeStyles/Project.xml | 121 +++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 + .idea/inspectionProfiles/Project_Default.xml | 6 + 4 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.gitignore b/.gitignore index 6edbdcda31..e7a9b8440f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,10 @@ .classpath .factorypath .gradle -.idea +!.idea/ +.idea/* +!.idea/codeStyles +!.idea/inspectionProfiles .metadata .project .recommenders diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000000..fda7def5b9 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,121 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000000..79ee123c2b --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000000..80a42643de --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file From 5663aaa7ec97aab133b709f79665764d961ff2fa Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 24 Jul 2023 14:35:13 +0200 Subject: [PATCH 2/2] Polish "Improve project setup for IntelliJ IDEA" See gh-29446 --- .gitignore | 4 - .idea/.gitignore | 10 ++ .idea/codeStyles/Project.xml | 4 +- .idea/copyright/java.xml | 6 + .idea/copyright/profiles_settings.xml | 7 + .idea/inspectionProfiles/Project_Default.xml | 2 +- .idea/scopes/java.xml | 3 + idea/codeStyleConfig.xml | 128 ------------------- 8 files changed, 29 insertions(+), 135 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/copyright/java.xml create mode 100644 .idea/copyright/profiles_settings.xml create mode 100644 .idea/scopes/java.xml delete mode 100644 idea/codeStyleConfig.xml diff --git a/.gitignore b/.gitignore index e7a9b8440f..a5256ecef4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,10 +12,6 @@ .classpath .factorypath .gradle -!.idea/ -.idea/* -!.idea/codeStyles -!.idea/inspectionProfiles .metadata .project .recommenders diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000..f1e07ef8c3 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +.name +*.xml +/modules/ +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index fda7def5b9..854b5bf052 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -6,7 +6,7 @@ -