MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getAppWarningDoNotShow

Method getAppWarningDoNotShow

src/shared/vscode/workspace.ts:36–36  ·  view source on GitHub ↗
(warningId: string)

Source from the content-addressed store, hash-verified

34 public getSdkDeprecationNoticeDoNotShow(dartSdkVersion: string): boolean { return !!this.context.globalState.get(`dartSdk${dartSdkVersion}DeprecationNotificationDoNotShowAgain`); }
35 public setSdkDeprecationNoticeDoNotShow(dartSdkVersion: string, value: boolean | undefined) { void this.context.globalState.update(`dartSdk${dartSdkVersion}DeprecationNotificationDoNotShowAgain`, value); }
36 public getAppWarningDoNotShow(warningId: string): boolean { return !!this.context.globalState.get(`appWarning${warningId}DoNotShowAgain`); }
37 public setAppWarningDoNotShow(warningId: string, value: boolean | undefined) { void this.context.globalState.update(`appWarning${warningId}DoNotShowAgain`, value); }
38 get hasWarnedAboutFormatterSyntaxLimitation(): boolean { return !!this.context.globalState.get("hasWarnedAboutFormatterSyntaxLimitation"); }
39 set hasWarnedAboutFormatterSyntaxLimitation(value: boolean) { void this.context.globalState.update("hasWarnedAboutFormatterSyntaxLimitation", value); }

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected