mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-23 03:44:23 +00:00
feat: Allow viewing the full compiler diagnostic in a readonly textview
This commit is contained in:
parent
e162d5800a
commit
073a63b93e
6 changed files with 84 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue