Copy Dockerfile.xml
to <YOURIDE_config_folder>/filetypes
and restart your IDE (IDEA / PhpStorm).
wget -O ~/.IdeaIC14/config/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
wget -O ~/.IntelliJIdea14/config/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
curl --create-dirs -so ~/Library/Preferences/IdeaIC14/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
curl --create-dirs -so ~/Library/Preferences/IntelliJIdea14/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
wget -O ~/.WebIde10/config/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
curl --create-dirs -so ~/Library/Preferences/WebIde10/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
Download https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml
and copy it to:
<User home>\.WebIdeXX\config\filetypes\
folder