-
Notifications
You must be signed in to change notification settings - Fork 303
Open
0 / 10 of 1 issue completedLabels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core
Milestone
Description
When compiling, the compiler will report the execute result for each emitter in log, as following:
In VSCode extension, we want to record the result of each emitter and send telemetry, It is not be able to parse out those information form the log.
Can compiler report the execute result and set it in program as following?
export interface EmitResult {
emitterName: string;
result: "fail"|"success"|"skipped";
error?: string;
}
export interface Program {
......
emits: EmitResult[];
}
vscode extension will use LSP to emit code instead of cmd-line. extension can get those information and send telemetry.
Sub-issues
Metadata
Metadata
Assignees
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerdesign:neededA design request has been raised that needs a proposalA design request has been raised that needs a proposaltriaged:core