Skip to content

Commit

Permalink
chore (ide): Add .bazelproject and .gitignore .eclipse
Browse files Browse the repository at this point in the history
Note that https://github.com/salesforce/bazel-vscode-java
doesn't actually work (for this project) yet; this is just
to make testing that easier; the other (pending) PR is
#285.
  • Loading branch information
vorburger committed Sep 30, 2023
1 parent a9a3774 commit f561edc
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .bazelproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# The project view file (.bazelproject) is used to import targets into the IDE.
#
# See: https://ij.bazel.build/docs/project-views.html
#
# This files provides a default experience for developers working with the project.
# You should customize it to suite your needs.

directories:
.

derive_targets_from_directories: true
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ max_line_length = unset
[WORKSPACE.bazel]
max_line_length = unset

[.bazelproject]
indent_size = 2

# Note that https://github.com/editorconfig-checker/editorconfig-checker
# which https://github.com/editorconfig-checker/editorconfig-checker.python
# uses does not understand e.g. [{*.yaml,*.yml}] but only single ones.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ build/
.ijwb/
.idea/

# Eclipse (including bazel-vscode-java)
.eclipse/

# Python Virtual Environment (venv, created by ./test.bash)
.venv/

Expand Down
24 changes: 23 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,27 @@
"tag:yaml.org,2002:python/name:materialx.emoji.to_svg",
"tag:yaml.org,2002:python/name:materialx.emoji.twemoji",
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
]
],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true,
".cache": true,
".eclipse": true,
".git": true,
".idea": true,
".ijwb": true,
".venv": true,
"bazel-bin": true,
"bazel-enola": true,
"bazel-out": true,
"bazel-testlogs": true
}
}

0 comments on commit f561edc

Please sign in to comment.