Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ javascript/safari-driver/node_modules/
javascript/webdriver/devtools/types/
.idea/bazelVersionCache.xml
.idea/GitLink.xml
.idea/vcs.xml
.idea/misc.xml
.idea/workspace.xml
.idea/dictionaries/
.idea/runConfigurations.xml
Expand Down
7 changes: 7 additions & 0 deletions .idea/externalDependencies.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions .idea/misc.xml

This file was deleted.

9 changes: 9 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ To make things more simple, building each of the bindings is available with this

### Java

#### IntelliJ
#### JetBrains

Most of the team uses Intellij for their day-to-day editing. If you're
working in IntelliJ, then we highly recommend installing the [Bazel IJ
plugin](https://plugins.jetbrains.com/plugin/8609-bazel) which is documented on
[its own site](https://plugins.jetbrains.com/plugin/8609-bazel).
Most of the team uses IntelliJ or other JetBrains IDEs for their day-to-day editing.

To use Selenium with the IntelliJ Bazel plugin, import the repository as a Bazel project, and select the project
view file from the [scripts](scripts) directory. `ij.bazelproject` for Mac/Linux and `ij-win.bazelproject` for Windows.
Opening Selenium with IntelliJ will request to install two plugins:
* The [JetBrains Bazel plugin](https://plugins.jetbrains.com/plugin/22977-bazel),
which will automatically synchronize upon opening.
* The [google-java-format plugin](https://plugins.jetbrains.com/plugin/8527-google-java-format)
to allow your IDE to keep any Java formatting for you. Follow additional directions as provided.

#### Linting

Expand Down
10 changes: 10 additions & 0 deletions scripts/.bazelproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This is for the newer jetbrains maintained plugin: https://plugins.jetbrains.com/plugin/22977-bazel

directories:
# Add the directories you want added as source here
# Loads all directories by default except do not want to sync remote-build locally
.
-common/remote-build

# Automatically includes all relevant targets under the 'directories' above
derive_targets_from_directories: true
1 change: 1 addition & 0 deletions scripts/ij-win.bazelproject
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This is for the legacy plugin: https://plugins.jetbrains.com/plugin/8609-bazel-for-intellij-legacy-
directories:
.

Expand Down
2 changes: 2 additions & 0 deletions scripts/ij.bazelproject
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This is for the legacy plugin: https://plugins.jetbrains.com/plugin/8609-bazel-for-intellij-legacy-

directories:
# Add the directories you want added as source here
# By default, we've added your entire workspace ('.')
Expand Down
1 change: 1 addition & 0 deletions tools/intellij/.managed.bazelproject
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import scripts/.bazelproject