PDA

View Full Version : How to Ignore Symlink Files on Search



Lindaz
09-28-2015,
Hello,
Is there a shortcut to use in the "Exclude" section of the "Find in Files..." dialog box that will prevent symlinks from being followed?
We have a project with multiple root folders and symlinks to shared files. When I do a find in files, the same files display in the results multiple times. My old editor did not follow symlinks by default. I am hopeful there is a way to enable the same feature with Komodo.
FYI, I am running Komodo on a Windows box, and have my project files on a linux server running samba.
Thanks in advance!

Luph
10-01-2015,
There is a known issue (that I believe is fixed now though possibly not in a released build) where Find Results pane would show multiple results unnecessarily.
Also note that if it finds x instances (x > 1) of the search parameter on a line it will show that line x times.
Just want to narrow things down before anyone (possibly myself) starts diving into the code. I feel like I've read that code before and it doesn't follow Symlinks but that was a while ago.

Mableupdam
10-01-2015,
Hi Carey,
Thanks for the quick reply. Here's a (obfuscated) result from a search I just did:
\\SERVER\webroot\path2\class.someclass.php, 228, public function some_function($parameter)
\\SERVER\webroot\path1\class.someclass.php, 228, public function some_function($parameter)
\\SERVER\webroot\path3\class.someclass.php, 228, public function some_function($parameter)Path 1 represented here is the actual file, path2 and path3 are symlinks (ath 2 shows first because that location is alphabetically earlier). This is definitely one file and 2 symlinks.
Hope this is helpful.
Ed