MCPcopy
hub / github.com/ritwickdey/vscode-live-server / getSettings

Method getSettings

src/Config.ts:24–26  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

22 }
23
24 private static getSettings<T>(val: string): T {
25 return Config.configuration.get(val) as T;
26 }
27
28 private static setSettings(key: string, val: number, isGlobal: boolean = false): Thenable<void> {
29 return Config.configuration.update(key, val, isGlobal);

Callers 15

getHostMethod · 0.80
getLocalIpMethod · 0.80
getPortMethod · 0.80
getRootMethod · 0.80
getNoBrowserMethod · 0.80
getCustomBrowserMethod · 0.80
getIgnoreFilesMethod · 0.80
getDonotShowInfoMsgMethod · 0.80
getDonotVerifyTagsMethod · 0.80
getUseWebExtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected