Skip to content

Commit 247fab6

Browse files
committed
mark with internal
1 parent a06ece3 commit 247fab6

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/vs/editor/common/languages.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,9 @@ export const enum SymbolKind {
11431143
TypeParameter = 25
11441144
}
11451145

1146+
/**
1147+
* @internal
1148+
*/
11461149
export const symbolKindNames: { [symbol: number]: string } = {
11471150
[SymbolKind.Array]: localize('Array', "array"),
11481151
[SymbolKind.Boolean]: localize('Boolean', "boolean"),
@@ -1172,6 +1175,9 @@ export const symbolKindNames: { [symbol: number]: string } = {
11721175
[SymbolKind.Variable]: localize('Variable', "variable"),
11731176
};
11741177

1178+
/**
1179+
* @internal
1180+
*/
11751181
export function getAriaLabelForSymbol(symbolName: string, kind: SymbolKind): string {
11761182
return localize('symbolAriaLabel', '{0} Symbol: {1}', symbolName, symbolKindNames[kind]);
11771183
}

src/vs/editor/standalone/browser/standaloneLanguages.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,6 @@ export function createMonacoLanguagesAPI(): typeof monaco.languages {
778778
registerDocumentRangeSemanticTokensProvider: <any>registerDocumentRangeSemanticTokensProvider,
779779
registerInlineCompletionsProvider: <any>registerInlineCompletionsProvider,
780780
registerInlayHintsProvider: <any>registerInlayHintsProvider,
781-
getAriaLabelForSymbol: <any>languages.getAriaLabelForSymbol,
782-
symbolKindNames: <any>languages.symbolKindNames,
783781

784782
// enums
785783
DocumentHighlightKind: standaloneEnums.DocumentHighlightKind,

src/vs/monaco.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7455,12 +7455,6 @@ declare namespace monaco.languages {
74557455
TypeParameter = 25
74567456
}
74577457

7458-
export const symbolKindNames: {
7459-
[symbol: number]: string;
7460-
};
7461-
7462-
export function getAriaLabelForSymbol(symbolName: string, kind: SymbolKind): string;
7463-
74647458
export enum SymbolTag {
74657459
Deprecated = 1
74667460
}

0 commit comments

Comments
 (0)