add custom beforeShow trigger and add .idea/ on .gitignore