From 81e1413e296f7303120bd223d3f74693a6527e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Quenneville?= Date: Fri, 31 Oct 2025 11:50:26 -0400 Subject: [PATCH] Remove Java guides The Java guides were just style guides that haven't been touched in years. It's time to let this go. --- README.md | 1 - java/README.md | 11 - java/configs/codestyles/thoughtbotAndroid.xml | 369 ------------------ java/install.bat | 22 -- java/install.sh | 26 -- 5 files changed, 429 deletions(-) delete mode 100644 java/README.md delete mode 100644 java/configs/codestyles/thoughtbotAndroid.xml delete mode 100644 java/install.bat delete mode 100755 java/install.sh diff --git a/README.md b/README.md index 24556b7b..c2abaf83 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,6 @@ programming in style. - [HAML](/haml/) - [Haskell](/haskell/) - [HTML](/html/) -- [Java](/java/) - [JavaScript & TypeScript](/javascript-typescript/) - [Objective-C](/objective-c/) - [Python](/python/) diff --git a/java/README.md b/java/README.md deleted file mode 100644 index 95cd6e58..00000000 --- a/java/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Java Code Styles - -IntelliJ IDEA code style settings for thoughtbot's Android projects. - -## Installation - -- On Unix, run the `install.sh` script. Windows users should use `install.bat` - instead. -- Restart IntelliJ if it's running. -- Open IntelliJ Project Settings -> Code Styles, change the code style for the - project to the one you want. diff --git a/java/configs/codestyles/thoughtbotAndroid.xml b/java/configs/codestyles/thoughtbotAndroid.xml deleted file mode 100644 index 38ab4b8a..00000000 --- a/java/configs/codestyles/thoughtbotAndroid.xml +++ /dev/null @@ -1,369 +0,0 @@ - - - - - diff --git a/java/install.bat b/java/install.bat deleted file mode 100644 index dfbe8abe..00000000 --- a/java/install.bat +++ /dev/null @@ -1,22 +0,0 @@ -REM Installs thoughtbot's IntelliJ configs into your user configs. -@echo off -echo Installing thoughtbot IntelliJ configs... - -setlocal enableDelayedExpansion - -for /D %%i in (%userprofile%\.AndroidStudio*) do call :copy_config %%i -for /D %%i in (%userprofile%\.IdeaIC*) do call :copy_config %%i -for /D %%i in (%userprofile%\.IntelliJIdea*) do call :copy_config %%i - -echo. -echo Restart IntelliJ or AndroidStudio, go to preferences, and apply 'thoughtbotAndroid'. -exit /b - -REM sub function for copy config files -:copy_config -set config_dir=%~1\config -echo Installing to !config_dir! -xcopy /s configs !config_dir! -echo Done. -echo. -exit /b diff --git a/java/install.sh b/java/install.sh deleted file mode 100755 index 18e5f08a..00000000 --- a/java/install.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -# Installs thoughtbot's IntelliJ configs into your user configs. - -echo "Installing thoughtbot IntelliJ configs..." - -CONFIGS=$(dirname "${BASH_SOURCE[0]}")/configs - -for directory in "$HOME"/Library/Preferences/IntelliJIdea* \ - "$HOME"/Library/Preferences/IdeaIC* \ - "$HOME"/Library/Preferences/AndroidStudio* \ - "$HOME"/.IntelliJIdea*/config \ - "$HOME"/.IdeaIC*/config \ - "$HOME"/.AndroidStudio*/config -do - if [[ -d "$directory" ]]; then - - # Install codestyles - mkdir -p "$directory/codestyles" - cp -frv "$CONFIGS/codestyles"/* "$directory/codestyles" - - fi -done - -echo "Done." -echo -echo "Restart IntelliJ or AndroidStudio, go to preferences, and apply 'thoughtbotAndroid'."