You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2022/06/10 13:51:51 UTC
[hbase] branch master updated: HBASE-27102 Vacate the .idea folder in order to simplify spotless configuration
This is an automated email from the ASF dual-hosted git repository.
ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 6b21d3ff11a HBASE-27102 Vacate the .idea folder in order to simplify spotless configuration
6b21d3ff11a is described below
commit 6b21d3ff11ad1e2df957f45396d0edd2c12a5298
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Thu Jun 9 15:14:21 2022 +0200
HBASE-27102 Vacate the .idea folder in order to simplify spotless configuration
Signed-off-by: Duo Zhang <zh...@apache.org>
---
.idea/checkstyle-idea.xml | 18 ------------------
src/main/asciidoc/_chapters/developer.adoc | 6 +++---
2 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml
deleted file mode 100644
index f1754c241c6..00000000000
--- a/.idea/checkstyle-idea.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="CheckStyle-IDEA">
- <option name="configuration">
- <map>
- <entry key="active-configuration" value="PROJECT_RELATIVE:$PROJECT_DIR$/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml:HBase Checks" />
- <entry key="checkstyle-version" value="8.29" />
- <entry key="copy-libs" value="false" />
- <entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
- <entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
- <entry key="location-2" value="PROJECT_RELATIVE:$PROJECT_DIR$/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml:HBase Checks" />
- <entry key="scan-before-checkin" value="false" />
- <entry key="scanscope" value="JavaOnlyWithTests" />
- <entry key="suppress-errors" value="false" />
- </map>
- </option>
- </component>
-</project>
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index 3bf6d21a947..61739800769 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -294,14 +294,14 @@ type.
The following plugins are recommended:
. Maven, bundled. This allows IntelliJ to resolve dependencies and recognize the project structure.
-. EditorConfig, bundled. This will apply project whitespace settings found in the the
+. EditorConfig, bundled. This will apply project whitespace settings found in the
`.editorconfig` file available on branches with
link:https://issues.apache.org/jira/browse/HBASE-23234[HBASE-23234] or later.
. link:https://plugins.jetbrains.com/plugin/1065-checkstyle-idea/[Checkstyle-IDEA]. Configure this
against the configuration file found under `hbase-checkstyle/src/main/resources/hbase/checkstyle.xml`
(If the Intellij checkstyle plugin complains parsing the volunteered hbase `checkstyle.xml`, make
-sure the plugin's `version` popup menu matches the hbase checkstyle version -- see
-link:https://issues.apache.org/jira/browse/HBASE-23242[HBASE-23242] for more).
+sure the plugin's `version` popup menu matches the hbase checkstyle version. Find the current
+checkstyle version as a property in `pom.xml`.
This plugin will highlight style errors in the IDE, so you can fix them before they get flagged during the
pre-commit process.
. link:https://plugins.jetbrains.com/plugin/8277-protobuf-support/[Protobuf Support]. HBase uses