Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csordasmarton opened this issue Feb 14, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request MEDIUM
Milestone

Comments

@csordasmarton
Copy link
Contributor

csordasmarton commented Feb 14, 2022

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

@vodorok
Copy link
Collaborator

vodorok commented Oct 14, 2022

Displaying reports will be significantly sped up by implementing this feature in CodeChecker:
Ericsson/codechecker#3759

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MEDIUM
Projects
None yet
Development

No branches or pull requests

3 participants