mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- Compile will start / did finish now includes the operation kind (perform sema or code complete). - See also https://forums.swift.org/t/sourcekit-lsp-file-status-ux/35947
14 lines
750 B
Swift
14 lines
750 B
Swift
// RUN: %sourcekitd-test -req=track-compiles == -req=complete %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
|
|
// COMPILE_1: {
|
|
// COMPILE_1: key.notification: source.notification.compile-will-start,
|
|
// COMPILE_1: key.filepath: "{{.*}}SOURCE_DIR{{.*}}code-completion.swift",
|
|
// COMPILE_1: key.compileid: [[CID1:".*"]]
|
|
// COMPILE_1: key.compileoperation: source.compile.operation.code-completion
|
|
// COMPILE_1: }
|
|
// COMPILE_1: {
|
|
// COMPILE_1: key.notification: source.notification.compile-did-finish,
|
|
// COMPILE_1: key.compileid: [[CID1]]
|
|
// COMPILE_1: key.compileoperation: source.compile.operation.code-completion
|
|
// COMPILE_1: }
|
|
// COMPILE_1-NOT: compile-will-start
|
|
// COMPILE_1-NOT: compile-did-finish |