He mentioned that he was pretty sure the information was there, but he couldn’t figure out how to extract it. He was unable to go any further than intercepting the Apple Event with it, because it looked like the “kpos” parameter that was supposed to hold the line number was empty. Tim Keating got started on a proxy application, and posted a link to his Xcode project in a Sublime text support forum thread. This is possible because sublime’s command line launch tool, subl, is able to open a file to a particular line and column using the syntax: subl file:line:columnĬreating a proxy had apparently already been done on Windows, but no one had made it work on OS X. One way to solve the problem without having access to the Sublime’s source code is to create a proxy application that interprets the information sent from Unity and launches Sublime with custom arguments. Sublime Text 2 simply wasn’t doing that – and people have been asking for a solution for about a year now. When you click on an error or warning in Unity, it has a line number associated with it that the editor you launch is supposed to jump to.
0 Comments
Leave a Reply. |