RubyMine: How to exclude single files

In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to exclude single files, too. An example could be .byebug_history which is located in the project root directory.

Single files can be excluded by pattern in the Settings:

  1. In the Settings/Preferences dialog Ctrl+Alt+S, go to Project structure
  2. In the Exclude files field, type the masks that define the names of files and folders to be excluded, for example, *.min.js or .byebug_history. Use semicolons as separators.

Warning

Don't use any white spaces in this field after the separator

  • *.min.js;.byebug_history → valid
  • *.min.js; .byebug_history → not valid
Daniel Straßner Almost 3 years ago