├── Dockerfile.xml └── README.md /Dockerfile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Installation 2 | Copy `Dockerfile.xml` to `/filetypes` and restart your IDE (IDEA / PhpStorm). 3 | 4 | 5 | #### OS X 6 | ```bash 7 | curl --create-dirs -so ~/Library/Preferences//filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml 8 | ``` 9 | For *IntelliJIdea2016.2* : 10 | ```bash 11 | curl --create-dirs -so ~/Library/Preferences/IntelliJIdea2016.2/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml 12 | ``` 13 | 14 | #### Linux 15 | ```bash 16 | wget -O ~/./config/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml 17 | ``` 18 | 19 | See https://www.jetbrains.com/help/idea/2016.1/directories-used-by-intellij-idea-to-store-settings-caches-plugins-and-logs.html 20 | 21 | ## Other products / older versions 22 | ### PhpStorm 10 23 | #### Linux 24 | ```wget -O ~/.WebIde10/config/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml``` 25 | https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml 26 | 27 | #### OS X 28 | ```bash 29 | curl --create-dirs -so ~/Library/Preferences/WebIde10/filetypes/Dockerfile.xml https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml 30 | ``` 31 | 32 | #### Windows 33 | Download `https://raw.githubusercontent.com/masgari/docker-intellij-idea/master/Dockerfile.xml` and copy it to: 34 | `\.WebIdeXX\config\filetypes\` folder (you may have to create the filetypes folder) 35 | --------------------------------------------------------------------------------