.idea/**/*

Can also ignore all directories and files in a directory.