cask 'intellij-idea-ce' do version '2016.3.3' sha256 'c9494b70c8f4f7218cdc0255db0ab295ab196981927107c7d6482573dc6f38ef' 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}", '~/Library/Preferences/com.jetbrains.intellij.ce.plist', '~/Library/Saved Application State/com.jetbrains.intellij.ce.savedState', ] end