-
Notifications
You must be signed in to change notification settings - Fork 8
feat: Integrate with CLI v2 CY-7445 #43
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
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
b0a6a9f to
36417ec
Compare
1e812e4 to
0eef37a
Compare
* added temp file analysis and sarif processing, still in progress * refactor diagnostics to support both API and CLI * add analysis of unsaved files * local analysis working with latest version of cli v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- package.json: Language not supported
| } | ||
|
|
||
| const documentLines = document.getText().split('\n') | ||
| private updateApiISsuesPositions(document: vscode.TextDocument) { |
Copilot
AI
Apr 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the method name 'updateApiISsuesPositions'. It should be spelled 'updateApiIssuesPositions' to improve clarity.
| private updateApiISsuesPositions(document: vscode.TextDocument) { | |
| private updateApiIssuesPositions(document: vscode.TextDocument) { |
| GitProvider.instance?.onDidChangeTextDocument((e) => { | ||
| this.updatePositions(e.document) | ||
| GitProvider.instance?.onDidChangeTextDocument(async (e) => { | ||
| // avoid if the ddocument is a .git file |
Copilot
AI
Apr 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment contains a typo ('ddocument'); it should be corrected to 'document'.
| // avoid if the ddocument is a .git file | |
| // avoid if the document is a .git file |
| const documentApiIssues = this._currentApiIssues[document.uri.fsPath] || [] | ||
| const documentCliIssues = this._currentCliIssues[document.uri.fsPath] || [] | ||
|
|
||
| // remove API issues found in the CLI issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so basically we are prioritizing CLI issues, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, those should be more up to date
|
Can't approve but looks good Ale :D |
No description provided.