25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

15 lines
494 B

import { ConfigurationTarget } from 'vscode';
import { configuration } from '../configuration';
import type { Container } from '../container';
import { command, Command, Commands } from './common';
@command()
export class ResetSuppressedWarningsCommand extends Command {
constructor(private readonly container: Container) {
super(Commands.ResetSuppressedWarnings);
}
async execute() {
void (await configuration.update('advanced.messages', undefined, ConfigurationTarget.Global));
}
}