MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / initialize

Method initialize

src/ui/StatusBarService.ts:37–45  ·  view source on GitHub ↗

* Initialize the status bar service

()

Source from the content-addressed store, hash-verified

35 * Initialize the status bar service
36 */
37 initialize(): void {
38 this.ensureTrackedStatusBarElement();
39 this.ensurePomodoroStatusBarElement();
40 this.registerPomodoroEvents();
41
42 // Initial update
43 void this.updateStatusBar();
44 this.updatePomodoroStatusBar();
45 }
46
47 private ensureTrackedStatusBarElement(): void {
48 if (this.statusBarElement || !this.plugin.settings.showTrackedTasksInStatusBar) {

Callers

nothing calls this directly

Tested by

no test coverage detected