sussudio
Version:
An unofficial VS Code Internal API
15 lines (14 loc) • 935 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IMatch } from "./filters.mjs";
export declare function escapeIcons(text: string): string;
export declare function markdownEscapeEscapedIcons(text: string): string;
export declare function stripIcons(text: string): string;
export interface IParsedLabelWithIcons {
readonly text: string;
readonly iconOffsets?: readonly number[];
}
export declare function parseLabelWithIcons(input: string): IParsedLabelWithIcons;
export declare function matchesFuzzyIconAware(query: string, target: IParsedLabelWithIcons, enableSeparateSubstringMatching?: boolean): IMatch[] | null;