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

Multi-Window Support #32

Open mickeyl opened 8 years ago

mickeyl commented 8 years ago

Hi, first off, thanks for the development of this great plugin.

Since I have a wide-screen monitor, I'm using two windows side-by-side. One where the log is full height, one where the actual code is full-height. With KZLinkedConsole now I have the problem that it only works when the code is in the same window as the log. Is it possible to change this to affect another window?

krzysztofzablocki commented 8 years ago

Hey @mickeyl, is it highlighting the links in the other window or not at all? I'd assume that it might have issues finding the workspace path to perform search on https://github.com/krzysztofzablocki/KZLinkedConsole/blob/master/KZLinkedConsole/Extensions/NSTextView%2BExtensions.swift#L33

mickeyl commented 8 years ago

Hi @krzysztofzablocki, it is highlighting the links in the console window just fine, but upon clicking it, it does only change the file in the "wrong" window (which is the same window as the console is visible in), not my "other" window (where source code is visible).