We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b607d75 commit 6a2bd0eCopy full SHA for 6a2bd0e
src/vs/base/common/iconLabels.ts
@@ -6,6 +6,7 @@
6
import { IMatch, matchesFuzzy } from 'vs/base/common/filters';
7
import { ltrim } from 'vs/base/common/strings';
8
import { ThemeIcon } from 'vs/base/common/themables';
9
+
10
const iconStartMarker = '$(';
11
12
const iconsRegex = new RegExp(`\\$\\(${ThemeIcon.iconNameExpression}(?:${ThemeIcon.iconModifierExpression})?\\)`, 'g'); // no capturing groups
@@ -47,8 +48,6 @@ export function getCodiconAriaLabel(text: string | undefined) {
47
48
}
49
50
-
51
52
export interface IParsedLabelWithIcons {
53
readonly text: string;
54
readonly iconOffsets?: readonly number[];
0 commit comments