cask 'intellij-idea-next-ce-eap' do version '2017.1,171.3780.15' sha256 'd25a51af03eef2ff35c4608d514c508e171360753303bfedd1aba32ee5e35247' url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg" name 'IntelliJ IDEA Community Edition next version EAP' homepage 'https://www.jetbrains.com/idea/nextversion/' auto_updates true app "IntelliJ IDEA #{version.before_comma} CE EAP.app" uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Application Support/IdeaIC#{version.major_minor}", "~/Library/Caches/IdeaIC#{version.major_minor}", "~/Library/Logs/IdeaIC#{version.major_minor}", "~/Library/Preferences/IdeaIC#{version.major_minor}", ] end