krzysztofzablocki / LinkedConsole

Clickable links in your Xcode console, so you never wonder which class logged the message.
http://merowing.info
MIT License
931 stars 63 forks source link

Links opening to wrong file #31

Open elmateo487 opened 8 years ago

elmateo487 commented 8 years ago

I have a few projects managed through carthage, one of which has an AppDelegate, and a ViewController in it. When I click on a link to a log that I have placed in my project AppDelegate, it will link to and open the other AppDelegate file. Is this something that can be mitigated?

Sometimes it will open the correct file in a tab, but it always will open the duplicate file in another window

krzysztofzablocki commented 8 years ago

I can see that happening if there are multiple files with same name in the project folder, the way it works is: it's running a search for the logged file name inside the project directory, since it's going to find both files which one might differ.

In your scenario, is the wrong AppDelegate under some common folder, like Carthage? if so we might be able to implement some kind of ignore list so it skips specific sub-path

elmateo487 commented 8 years ago

An ignore list would be perfect, in my case I would just need to ignore everything in the Carthage folder.

brentleyjones commented 8 years ago

Happening here as well. And yes, the wrong AppDelegate is in a Carthage folder.