Last active
December 7, 2015 15:38
-
-
Save kenfehling/c16dafb44f6d0ff3f23a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# For opening a file from the heads up display of Figwheel in IntelliJ IDEA | |
# Made for OS X but should work similarly on Linux with a different CMD variable | |
# Add this script to your path (ex. ~/bin) and use from | |
# :open-file-command in the :figwheel section of project.clj | |
INTELLIJ_VERSION=14 # Change for your (whole number) version of IntelliJ IDEA | |
CMD="/Applications/IntelliJ IDEA ${INTELLIJ_VERSION}.app/Contents/MacOS/idea" | |
"$CMD" "$PWD" --line $2 "$PWD/$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bash script for opening a file from the heads up display of Figwheel in IntelliJ IDEA