MadsBuus / gedit-snapopen-plugin

Snapopen plugin for Gedit (Linux/Mac)
58 stars 18 forks source link

Hangs when project folder have to many files; Ignore-folders configuration section is required. #1

Closed mariozaizar closed 14 years ago

mariozaizar commented 14 years ago

When the project folder have to many files (like image galleries) snap open hangs into gedit for Mac OS leopard. Ignore-folders configuration section is required.

mariozaizar commented 14 years ago

I can filter the result list, adding one more grep filter to cmd variable: [line code 113] ... | grep -v \"./foldertoexclude/\" | grep -v \"~$\" ....

But, any way, this method still consume a lot of time (used by find command to grab all files and folders) I'm still looking to filter that folders directly from find command.

mariozaizar commented 14 years ago

I tried an other method to improve the time, and avoid hangs; please see the changes at: http://github.com/mariozaizar/gedit-snapopen-plugin

mariozaizar commented 14 years ago

I got it !!, I made a few changes to your code, and now the 'Find' command filters all popular images files. Please consider to merge my fork to your master branch.

MadsBuus commented 14 years ago

Super, I have merged your image changes