You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/06/23 20:57:01 UTC

[GitHub] [iceberg] jackye1995 commented on a change in pull request #2719: [WIP][BUILD] Remove the `/site` folder from the Intellij project to declutter search and reduce indexing time

jackye1995 commented on a change in pull request #2719:
URL: https://github.com/apache/iceberg/pull/2719#discussion_r657455972



##########
File path: idea.gradle
##########
@@ -0,0 +1,28 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+apply plugin: 'org.jetbrains.gradle.plugin.idea-ext'
+
+idea {
+    module {
+        // Explicitly exclude site from users intellij project, as they
+        // pollute search and greatly increase indexing times.
+        excludeDirs += project.projectDir.listFiles().findAll {
+            it.path.contains("/site/")

Review comment:
       I think we should not exclude everything in `/site`, but only things in `/site/docs/javadoc`, or maybe also the css and image folder. It is beneficial to make the markdown files searchable. (in fact I use that quite often)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org