mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Merge from vscode ec07311dab2556c9d66a4cb3eecdc21c524202e1 (#6739)
This commit is contained in:
@@ -129,6 +129,10 @@ export interface MarkerStatistics {
|
||||
export namespace IMarkerData {
|
||||
const emptyString = '';
|
||||
export function makeKey(markerData: IMarkerData): string {
|
||||
return makeKeyOptionalMessage(markerData, true);
|
||||
}
|
||||
|
||||
export function makeKeyOptionalMessage(markerData: IMarkerData, useMessage: boolean): string {
|
||||
let result: string[] = [emptyString];
|
||||
if (markerData.source) {
|
||||
result.push(markerData.source.replace('¦', '\¦'));
|
||||
@@ -145,7 +149,10 @@ export namespace IMarkerData {
|
||||
} else {
|
||||
result.push(emptyString);
|
||||
}
|
||||
if (markerData.message) {
|
||||
|
||||
// Modifed to not include the message as part of the marker key to work around
|
||||
// https://github.com/microsoft/vscode/issues/77475
|
||||
if (markerData.message && useMessage) {
|
||||
result.push(markerData.message.replace('¦', '\¦'));
|
||||
} else {
|
||||
result.push(emptyString);
|
||||
|
||||
Reference in New Issue
Block a user