Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aab441e

Browse filesBrowse files
committed
Merge pull request square#1 from square/jw/android-studio
Support AndroidStudio.
2 parents 033bb35 + 78ce5b7 commit aab441e
Copy full SHA for aab441e

File tree

Expand file treeCollapse file tree

1 file changed

+7
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-5
lines changed
Open diff view settings
Collapse file

‎install.sh‎

Copy file name to clipboard
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/bin/bash
2-
# installs square's intellij configs into your user configs
2+
# Installs Square's IntelliJ configs into your user configs.
33

4-
echo "Installing IntelliJ configs..."
4+
echo "Installing Square code style configs..."
55

6-
for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles $HOME/Library/Preferences/IdeaIC*/codestyles
6+
for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles \
7+
$HOME/Library/Preferences/IdeaIC*/codestyles \
8+
$HOME/Library/Preferences/AndroidStudio*/codestyles
79
do
8-
cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i
10+
cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i 2> /dev/null
911
done
1012

1113
echo "Done."
1214
echo ""
13-
echo "Restart IntelliJ and go to preferences to apply them."
15+
echo "Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Square' or 'SquareAndroid'."

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.