Configuration settings and source maps support

This commit is contained in:
vsrs 2020-04-29 13:10:42 +03:00
parent 48d6e828f1
commit 042917e6e3
4 changed files with 52 additions and 10 deletions

View file

@ -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"),
};
}
}