Skip to content

Show pop-up when analysis is finished and found some new reports #87

Open
@csordasmarton

Description

@csordasmarton

CodeChecker analysis can be slow (1-2 minutes). It would be good if we could show a pop-up window to inform the user when the analysis finished. We can show this pop-up window only when we found new results.

Also if started to analyze a file and the analysis is still in progress we can add a decoration to the analyzed file by using FileDecorations:

Example code to provide file decorations
export class CodeCheckerFileDecorationProvider implements FileDecorationProvider {
    constructor(ctx: ExtensionContext) {
        ctx.subscriptions.push(window.registerFileDecorationProvider(this));
    }

    provideFileDecoration(uri: Uri, token: CancellationToken) {
        return new FileDecoration("CC", "CodeChecker analysis in progress", new ThemeColor('progressBar.background'));
    }
}

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions