Show each file's declared types under it, with a browse popover when there are many, and reveal a type's declaration when it is chosen.
24 lines
570 B
Swift
24 lines
570 B
Swift
import Foundation
|
|
import LumaCore
|
|
|
|
enum SidebarItemID: Codable, Hashable {
|
|
case notebook
|
|
case pharo
|
|
case missions
|
|
case mission(UUID)
|
|
case patterns
|
|
case pattern(String)
|
|
case patternType(String, String)
|
|
case session(UUID)
|
|
case repl(UUID)
|
|
case module(UUID, String)
|
|
case thread(UUID, UInt)
|
|
case instrument(UUID, UUID)
|
|
case instrumentComponent(UUID, UUID, UUID)
|
|
case insight(UUID, UUID)
|
|
case itrace(UUID, UUID)
|
|
case package(UUID)
|
|
case customInstrumentDef(UUID)
|
|
case customInstrumentFile(UUID, String)
|
|
}
|