MCPcopy Index your code
hub / github.com/APKLab/APKLab / updateStatusBar

Function updateStatusBar

src/tools/smali-lsp.ts:213–231  ·  view source on GitHub ↗
(state: State)

Source from the content-addressed store, hash-verified

211}
212
213function updateStatusBar(state: State): void {
214 switch (state) {
215 case State.Running:
216 showStatusBar("$(check) Smali LSP", "Smali Language Server ready");
217 break;
218 case State.Starting:
219 showStatusBar(
220 "$(sync~spin) Smali: Starting...",
221 "Starting Smali Language Server",
222 );
223 break;
224 case State.Stopped:
225 if (statusBarItem) {
226 statusBarItem.dispose();
227 statusBarItem = undefined;
228 }
229 break;
230 }
231}

Callers 1

startServerFunction · 0.85

Calls 2

showStatusBarFunction · 0.85
disposeMethod · 0.80

Tested by

no test coverage detected