cask 'intellij-idea-ce' do version '2016.2.3' sha256 '3a180ff30a8c9b7bf8bf38f6297fcd9ec6d8994e2b0489b97bfbeead362fb3b8' url "https://download.jetbrains.com/idea/ideaIC-#{version}.dmg" name 'IntelliJ IDEA Community Edition' name 'IntelliJ IDEA CE' homepage 'https://www.jetbrains.com/idea/' license :apache auto_updates true app 'IntelliJ IDEA CE.app' uninstall delete: '/usr/local/bin/idea' zap delete: [ "~/Library/Application Support/IdeaIC#{version.major_minor}", "~/Library/Preferences/IdeaIC#{version.major_minor}", "~/Library/Caches/IdeaIC#{version.major_minor}", "~/Library/Logs/IdeaIC#{version.major_minor}", ] end