cask 'intellij-idea-next-ce-eap' do version '2017.1,171.2822.15' sha256 '0787cd5a29b7a168065681ddc64eb7d4b74f579b483aa0a9b940b14033b62324' url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg" name 'IntelliJ IDEA Next Community Edition EAP' homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP" 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