mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
19 lines
816 B
TypeScript
19 lines
816 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import * as nls from 'vscode-nls';
|
|
const localize = nls.loadMessageBundle();
|
|
|
|
import * as vscode from 'vscode';
|
|
|
|
import { Command } from '../commandManager';
|
|
|
|
export class OnPreviewStyleLoadErrorCommand implements Command {
|
|
public readonly id = '_markdown.onPreviewStyleLoadError';
|
|
|
|
public execute(resources: string[]) {
|
|
vscode.window.showWarningMessage(localize('onPreviewStyleLoadError', "Could not load 'markdown.styles': {0}", resources.join(', ')));
|
|
}
|
|
}
|