[swift-evolution] [Pitch] .swiftDoc files instead of inline docs

Jon Gilbert swiftevolution at jongilbert.com
Thu Nov 9 09:45:20 CST 2017


They removed the little UI sidebar that was so useful for code folding, though. I do hope it makes a return.

Also I am not saying projects should be forced to keep docs in separate files, just that it would be nice to have the option. I suppose it could be achieved through an XCode plugin though.

J

> On Nov 9, 2017, at 03:19, Ben Rimmington via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On 8 Nov 2017, at 18:57, Erica Sadun wrote:
>> 
>> Colocation of docs with the material they document is valuable to me and I presume anyone updating code. If anything, it would be nice if Xcode provided a show/hide doc headers toggle though.
> 
> [Xcode 9.1]
> 
> Editor > Code Folding > Fold Comment Blocks
> 
> Editor > Code Folding > Fold Methods & Functions
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list