RubyMine: How to exclude single files

Updated . Posted . Visible to the public.

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
Last edit
Felix Eschey
Keywords
ignore
License
Source code in this card is licensed under the MIT License.
Posted by Daniel Straßner to makandra dev (2021-04-29 13:23)