From c8a80a5270224d2dbbebfe54ab781087a7fae6dd Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Thu, 10 Nov 2022 15:46:05 -0800 Subject: [PATCH] Adding SQL Carbon edit comment (#21202) --- src/vs/base/common/idGenerator.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vs/base/common/idGenerator.ts b/src/vs/base/common/idGenerator.ts index 290027d8ef..61206eb636 100644 --- a/src/vs/base/common/idGenerator.ts +++ b/src/vs/base/common/idGenerator.ts @@ -14,6 +14,11 @@ export class IdGenerator { } public nextId(): string { + /** + * {{SQL CARBON EDIT}} + * Adding suffix at the end of id to avoid the id getting picked up by faulty + * string matching logic that only checks for id prefixes to find the match. + */ return this._prefix + (++this._lastId) + '-id'; } }