void (int savedVersion) { if (savedVersion < 4) { if (savedVersion == 0) { addIgnore(".svn"); } if (savedVersion < 2) { restoreStandardFileExtensions(); } addIgnore("*.pyc"); addIgnore("*.pyo"); addIgnore(".git"); } if (savedVersion < 6) { addIgnore("_svn"); } if (savedVersion < 7) { addIgnore(".hg"); } if (savedVersion < 8) { addIgnore("*~"); } if (savedVersion < 9) { addIgnore("__pycache__"); } if (savedVersion < 11) { addIgnore("*.rbc"); } if (savedVersion < 13) { // we want *.lib back since it's an important user artifact for CLion, also for IDEA project itself, since we have some libs. unignoreMask("*.lib"); } if (savedVersion < 15) { // we want .bundle back, bundler keeps useful data there unignoreMask(".bundle"); } if (savedVersion < 16) { // we want .tox back to allow users to select interpreters from it unignoreMask(".tox"); } if (savedVersion < 17) { addIgnore("*.rbc"); } if (savedVersion < 18) { // we want .hprof back, we can open it in our profiler unignoreMask("*.hprof"); } }