Indexing useless files in the project

Hi!

There are hundreds of millions files in one folder in my project. I cant move them from there because their placement is important. When i open this project with RubyMine, well, everything slowing down for a long time.

I know there are "excluded folders" for rubymine. But before i set em up, i should open the project.

Moreover, if i wait till indexing of this millions files ends and set this folder "excluded", RubyMine will be slow as i didnt exclede them.

Is there a way for a hardcore exclusion?

I have one idea — i can move this files from project folder and leave only symbolic link to them. Can i turn of cymlink following for all projects in RubyMine?

Thanks in advance!

10 comments
Comment actions Permalink

Hello,

Are they source files (e.g. ruby/erb/js/html) or some media/data files?

Also you can try to exclude such files/folders using RubyMine | Settings | File Types | Ingnore files and folders

0
Comment actions Permalink

They are small mediafiles but distributed by wide dir tree.

Thousands of millions of .erb files — OS on Rails? :-)

0
Comment actions Permalink

Yes, i can ignore them that way. But i think RubyMine will scan this big folder anyway (but media files wont be indexed). It is not great because simple scanning of this folder is nightmare :-)

0
Comment actions Permalink

Yes, i can confirm this.

RubyMine will scan excluded folders anyway. This is clearly a bug!

There is no way for me to move some folders with thousands of files out of my project folder tree, they need to stay there, and rubymine takes more than 10 Minutes to start up because of scanning excluded folders. This is extremely annoying!

Alex Gusevs report is from the year 2010, so the bug is at least three years old!

When will this bug be fixed?

0
Comment actions Permalink

Have you tried to exclude them not by mask but by folder?

Regads, Oleg.

0
Comment actions Permalink

The folder is excluded by:
Project Settings -> Project Structure -> Excluded Folders

So it should be excluded from all operations not only be hidden in the project tree.

Could you please open a bug report in the tracker for rubymine or IntelliJ or whatever is the right place?

When can we expect this old bug to be fixed?

0
Comment actions Permalink

Oh, so its also in the bug tracker since 2010....

Why is it not fixed?

That is not the kind of response time one whould expect from a company with a reputation like JetBrains.

Be agile folks! Fix it!

0
Comment actions Permalink

I'd try to exclude them in "File Types" setings, it looks like a workaround, but perhaps it works ;)

Oleg.

0

Please sign in to leave a comment.