feat: Allow viewing the full compiler diagnostic in a readonly textview

This commit is contained in:
Lukas Wirth 2022-11-18 19:47:45 +01:00
parent e162d5800a
commit 073a63b93e
6 changed files with 84 additions and 12 deletions

View file

@ -238,6 +238,9 @@ export class Config {
gotoTypeDef: this.get<boolean>("hover.actions.gotoTypeDef.enable"),
};
}
get previewRustcOutput() {
return this.get<boolean>("diagnostics.previewRustcOutput");
}
}
const VarRegex = new RegExp(/\$\{(.+?)\}/g);