JetBrains_Configuration
This repo contains the common configuration for JetBrains IDEs accross the Dojo project.
How to use it
- Go to IDE settings folder of the project (
.idea
by default)
cd .idea
- Add this repo as submodule
git submodule add ssh://git@ssh.hesge.ch:10572/isc/projects/dojo/projects/shared/jetbrains_configuration.git jetbrainsConfiguration
- Symlink the configuration files and folders
ln -s jetbrainsConfiguration/codeStyles/ codeStyles
ln -s jetbrainsConfiguration/dataSources/ dataSources
ln -s jetbrainsConfiguration/inspectionProfiles/ inspectionProfiles
ln -s jetbrainsConfiguration/rootFiles/* ./
Automatic formatting on save
- Go to
Settings > Tools > Actions on Save
- Check
Reformat on file save
,Optimize imports on file save
andRearrange code on file save