Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RubyMine to ignore some files when going to file

Tags:

rubymine

When going to file (Go To => File, ⇧⌘N on Mac OS X), is there a way to have RubyMine ignore some directories? We have a lot of third party code in vendor which I'd rather ignore.

like image 385
pupeno Avatar asked Feb 10 '11 15:02

pupeno


People also ask

What is an exclude file?

Excluded files in DeployHQ are files that you need to store in your repository, or that might be generated within a build pipeline but not upload to your server. This might be useful for certain files within your app that you want to version control but not actually deploy.

How do I ignore files in Pycharm?

Under the Version Control node, of the Settings dialog box, click Ignored Files. The Ignored Files dialog box opens. You can also add files to ignore list on-the-fly. A new file under the Unversioned Files change list, has Ignore command on its context menu.

What is excluded directory in IntelliJ?

Excludes Use this page to specify files and directories within your project that should not be passed to the compiler. In this field, the path to a file or directory to be excluded from compilation is shown. For a directory: select this option to exclude from compilation all the corresponding subdirectories.


2 Answers

File | Settings | Project Structure, select directory on the right and press Excluded button on top:

Exclude Directories

like image 52
CrazyCoder Avatar answered Sep 16 '22 22:09

CrazyCoder


The quicker way:

Right-click on a folder in your project tree and click “Mark Directory As” → “Excluded”.

directory-exclude-screen-shot

like image 40
skywinder Avatar answered Sep 17 '22 22:09

skywinder