Skip to content

Instantly share code, notes, and snippets.

@featuriz
Last active May 14, 2022 13:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save featuriz/049b1c8e1ed8abefbd7582be33db3299 to your computer and use it in GitHub Desktop.
Save featuriz/049b1c8e1ed8abefbd7582be33db3299 to your computer and use it in GitHub Desktop.
:: echo %HOMEPATH%
FOR %%y IN ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") DO (
FOR /D %%z IN ("C:%HOMEPATH%\AppData\Roaming\JetBrains\%%y*") DO (
rmdir "%%z\eval" /s /q
del "%%z\options\other.xml"
)
)
:: cd "C:%HOMEPATH%\AppData\Roaming\JetBrains\IntelliJIdea*\"
:: rmdir "eval" /s /q
:: del "options\other.xml"
::
::
:: This works on All Idea 2021.x on Windows10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment