mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Configuration settings and source maps support
This commit is contained in:
parent
48d6e828f1
commit
042917e6e3
4 changed files with 52 additions and 10 deletions
|
@ -92,7 +92,6 @@ export class Config {
|
|||
get askBeforeDownload() { return this.get<boolean>("updates.askBeforeDownload"); }
|
||||
get traceExtension() { return this.get<boolean>("trace.extension"); }
|
||||
|
||||
|
||||
get inlayHints() {
|
||||
return {
|
||||
typeHints: this.get<boolean>("inlayHints.typeHints"),
|
||||
|
@ -107,4 +106,12 @@ export class Config {
|
|||
command: this.get<string>("checkOnSave.command"),
|
||||
};
|
||||
}
|
||||
|
||||
get debug() {
|
||||
return {
|
||||
engine: this.get<null | string>("debug.engine"),
|
||||
sourceFileMap: this.get<Record<string, string>>("debug.sourceFileMap"),
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue