您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

15 行
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));
}
}