Using the jEdit programmer's text editor, given a direc开发者_StackOverflowtory of existing code, I have been searching for and updating references in directories using the "Search in Directory" function. However, the directory also contains SVN files and subdirectories in addition to the code.
Is there an easy way to filter out these files when searching through the code directories with jEdit?
Apparently, I wasn't using the correct filtering syntax. I needed to filter out the files explicitly for some reason. More information about the filtering syntax is available at http://www.jedit.org/users-guide/globs.html .
The .svn directories are hidden directories, aren't they? So just checking "Skip hiddens/backups" in that dialog should be enough. Or are there other hidden files or backups you don't want to skip?
If so, it could be a bit complicated. The "Filter" is only applied to the filenames, not to the folders. If you can make a filter that matches the files outside the .svn folders or the files inside the .svn folders it would be possible.
精彩评论