Last active
January 16, 2022 03:41
-
-
Save debu999/d973a2bb34099365a0cbc170119520fa to your computer and use it in GitHub Desktop.
Mac IntelliJ reset for 2021.3 and beyond
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
just register with new email every 1 month no need to do the above. It works seamlessly. |
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
#!/bin/bash | |
echo "removing evaluation key..." | |
# in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version. | |
rm -rfv ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.2/eval | |
echo "resetting evalsprt in other.xml ... " | |
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.2/options/other.xml | |
defaults delete com.apple.java.util.prefs 2> /dev/null | |
echo "removing additional plist files..." | |
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist | |
rm -f ~/Library/Preferences/com.jetbrains.*.plist | |
rm -f ~/Library/Preferences/jetbrains.*.*.plist | |
echo "restarting cfprefsd" | |
killall cfprefsd | |
echo | |
echo "That's it, enjoy ;)" |
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
#!/bin/bash | |
echo "removing evaluation key..." | |
# in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version. | |
rm -rfv ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.3/eval | |
echo "resetting evalsprt in other.xml ... " | |
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.3/options/other.xml | |
defaults delete com.apple.java.util.prefs 2> /dev/null | |
echo "removing additional plist files..." | |
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist | |
rm -f ~/Library/Preferences/com.jetbrains.*.plist | |
rm -f ~/Library/Preferences/jetbrains.*.*.plist | |
echo "restarting cfprefsd" | |
killall cfprefsd | |
echo | |
echo "That's it, enjoy ;)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now there is email authentication stay tuned for any changes from 2021.3 Above will not work.