Skip to content

Commit 23c9fa2

Browse files
authored
Merge pull request #46 from DeepCodeAI/upgrade-issue-helper
issue helpers upgraded
2 parents 0c0246b + 88eab21 commit 23c9fa2

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/deepcode/constants/analysis.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ export const ISSUES_MARKERS_DECORATION_TYPE: { [key: string]: string } = {
2525
};
2626

2727
export const ISSUE_ID_SPLITTER = "%2Fdc%2F";
28-
export const ISSUE_MARKER_HELPER_MSG = "Issue helper";

src/deepcode/utils/analysisUtils.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import {
66
IGNORE_ISSUE_BASE_COMMENT_TEXT,
77
FILE_IGNORE_ISSUE_BASE_COMMENT_TEXT,
88
IGNORE_ISSUE_REASON_TIP,
9-
ISSUE_ID_SPLITTER,
10-
ISSUE_MARKER_HELPER_MSG
9+
ISSUE_ID_SPLITTER
1110
} from "../constants/analysis";
1211

1312
export const createDeepCodeSeveritiesMap = () => {
@@ -227,10 +226,7 @@ export const createIssueRelatedInformation = ({
227226
for (const position of markerPositions) {
228227
const relatedInfo = new vscode.DiagnosticRelatedInformation(
229228
new vscode.Location(fileUri, createIssueCorrectRange(position)),
230-
// temporary issue marker message
231-
ISSUE_MARKER_HELPER_MSG
232-
// to get marker msg from issue message use:
233-
// createIssueMarkerMsg(message, markerMsgIdxs)
229+
createIssueMarkerMsg(message, markerMsgIdxs)
234230
);
235231
relatedInfoList.push(relatedInfo);
236232
}

0 commit comments

Comments
 (0)