Re: [swift-users] source for a Swift module's interface

2017-01-19 Thread Dave Yost via swift-users
> On 2017-01-16, at 9:06 PM, Jens Alfke wrote: > > >> On Jan 16, 2017, at 6:18 PM, Dave Yost via swift-users >> mailto:swift-users@swift.org>> wrote: >> >> In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to >> Definition to see a Swift source file for the Darwin module

Re: [swift-users] source for a Swift module's interface

2017-01-16 Thread Jens Alfke via swift-users
> On Jan 16, 2017, at 6:18 PM, Dave Yost via swift-users > wrote: > > In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to > Definition to see a Swift source file for the Darwin module. You can also just hold Command down and click. I use this shortcut all the time. > Bu

Re: [swift-users] source for a Swift module's interface

2017-01-16 Thread Jacob Bandes-Storch via swift-users
You can print out the interface using `:type lookup MyModule` in the REPL, as discussed here: https://bugs.swift.org/browse/SR-2502 On Mon, Jan 16, 2017 at 6:18 PM, Dave Yost via swift-users < swift-users@swift.org> wrote: > > In Xcode I can put the caret on Darwin in "import Darwin” and use Jump

[swift-users] source for a Swift module's interface

2017-01-16 Thread Dave Yost via swift-users
In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to Definition to see a Swift source file for the Darwin module. But the file has no name, and clicking on the Show In Finder contextual menu item (which is enabled) does nothing but activate the Finder. I have looked every w