fork-dev / Tracker

Bug and issue tracker for Fork for Mac
493 stars 12 forks source link

Reveal in ... context menu improvement #2155

Closed gitjoost closed 1 week ago

gitjoost commented 1 week ago

There is "Reveal line in Visual Studio Code" in the diff view context menu. I most commonly use swift in Xcode so that VSCode doesn't do me any good. I you add a Custom Command with Target of this context menu that allows an action something similar:

open -a Xcode $path && osascript -e 'tell application "Xcode" to activate' -e 'tell application "System Events" to keystroke "l" using {command down}' -e 'tell application "System Events" to keystroke $line' -e 'tell application "System Events" to key code 36'

to be specified? That may work with many (any?) other code editor.

DanPristupov commented 1 week ago

Duplicate https://github.com/fork-dev/Tracker/issues/1719