From: Dale A. <da...@gr...> - 2012-12-14 22:26:07
|
Eric, I agree with you about "files to include" and "files to exclude". That's why I think it would be clearer to have #1 be files that are included, and #2 and #3 be excludes. I don't know that hidden files should be a special case, really, I'd like to just treat them like any other file and they follow the same rules -- if they match the filter, they are in. "Files to include" should default to the global "Files to import" setting in PV options, same with directories to ignore. BTW, I asked Marcelo if I could work on PV, he said I could go ahead and hack away, just not to break anything that currently works, so I'm going to go ahead and take on PV maintenance for the time being. Dale On Fri, Dec 14, 2012 at 2:22 PM, Eric Berry <el...@gm...> wrote: > On Fri, Dec 14, 2012 at 12:53 PM, Dale Anson <da...@gr...> wrote: > >> >> I'm thinking: >> 1. a file filter, this is for including, remove the 'custom' choice >> 2. files to include, this is a glob and is always available >> 3. directories to ignore this is a glob and is always available >> > > I think this is a good idea. > > >> >> Re-import would first select files based on the filter (#1), then remove >> directories (recursively) matching the directory glob (#3), then remove >> files not matching the filename glob (#2). If the checkbox to 'add hidden >> files' is checked, those files must also match the filter (#1). I think >> this gives greater flexibility in selecting the files in a project. I think >> it would be clearer if #2 to be 'files to exclude', but I'd be concerned >> about breaking projects that are already using custom settings. >> > > If I understand this correctly, .hidden files NOT matching #1 would still > be ignored? I think that would be confusing and hard to explain easily. > Maybe this is a broader questions, but I've always had problems with the > "files to include" AND "files to exclude" options, I always seem to use one > or the other but not both. Also, how would this play with the SVN or Git > import options? > > -- > Learn from the past. Live in the present. Plan for the future. > Blog: http://eric-berry.blogspot.com > jEdit <http://www.jedit.org> - Programmer's Text Editor > > Artisan Park <https://artisanpark.com> > > |