[SPARK-35842][INFRA] Ignore all .idea folders
### What changes were proposed in this pull request? After https://github.com/apache/spark/pull/32337, all the `.idea/` in submodules are treated as git difference again. For example, when I open the project `resource-managers/yarn/` with IntelliJ, the git status becomes ``` Untracked files: (use "git add <file>..." to include in what will be committed) resource-managers/yarn/.idea/ ``` The same issue happens on opening `sql/hive-thriftserver/` with IntelliJ. We should ignore all the ".idea" directories instead of the one under the root path. ### Why are the changes needed? Make it more friendly for developers who using IDEA for the development of submodules like yarn, hive-thriftserver, etc. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Just infra changes. Closes #32998 from gengliangwang/improveIgnore. Authored-by: Gengliang Wang <gengliang@apache.org> Signed-off-by: Gengliang Wang <gengliang@apache.org>
This commit is contained in:
parent
2c91672259
commit
a100a0186a
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -15,10 +15,10 @@
|
||||||
.ensime_cache/
|
.ensime_cache/
|
||||||
.ensime_lucene
|
.ensime_lucene
|
||||||
.generated-mima*
|
.generated-mima*
|
||||||
# The star is required for further !.idea/ to work, see https://git-scm.com/docs/gitignore
|
# All the files under .idea/ are ignore. To add new files under ./idea that are not in the VCS yet, please use `git add -f`
|
||||||
.idea/*
|
.idea/
|
||||||
|
# SPARK-35223: Add IssueNavigationLink to make IDEA support hyperlink on JIRA Ticket and GitHub PR on Git plugin.
|
||||||
!.idea/vcs.xml
|
!.idea/vcs.xml
|
||||||
python/.idea
|
|
||||||
.idea_modules/
|
.idea_modules/
|
||||||
.project
|
.project
|
||||||
.pydevproject
|
.pydevproject
|
||||||
|
|
Loading…
Reference in a new issue