cask 'intellij-idea-ce' do version '2016.2.5' sha256 '6fce76f374f7b5a19e50a2aade2ea854151326c563fbaed77da3b40b702ac70b' url "https://download.jetbrains.com/idea/ideaIC-#{version}.dmg" name 'IntelliJ IDEA Community Edition' name 'IntelliJ IDEA CE' homepage 'https://www.jetbrains.com/idea/' 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