MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / onTabKeyDown

Method onTabKeyDown

Extension/ui/settings.ts:118–124  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

116 }
117
118 private onTabKeyDown(e: any): void {
119 if (e.keyCode === 9) {
120 document.body.classList.add("tabbing");
121 window.removeEventListener("keydown", this.onTabKeyDown);
122 window.addEventListener("mousedown", this.onMouseDown.bind(this));
123 }
124 }
125
126 private onMouseDown(): void {
127 document.body.classList.remove("tabbing");

Callers

nothing calls this directly

Calls 2

bindMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected