cask 'intellij-idea-ce' do version '2016.3.1' sha256 'a26e3868c4f4ff8c3bc4b09db512270e40c52c46a074e8c328a1c2464cd686bf' 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