CodeLens configuration options.
This commit is contained in:
@@ -16,6 +16,9 @@ export class Config {
|
||||
"files",
|
||||
"highlighting",
|
||||
"updates.channel",
|
||||
"lens.run",
|
||||
"lens.debug",
|
||||
"lens.implementations",
|
||||
]
|
||||
.map(opt => `${this.rootSection}.${opt}`);
|
||||
|
||||
@@ -119,4 +122,12 @@ export class Config {
|
||||
sourceFileMap: sourceFileMap
|
||||
};
|
||||
}
|
||||
|
||||
get lens() {
|
||||
return {
|
||||
run: this.get<boolean>("lens.run"),
|
||||
debug: this.get<boolean>("lens.debug"),
|
||||
implementations: this.get<boolean>("lens.implementations"),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user