Change:
this.disposables.push(this.list.onOpen(e => { let isSingleClick = false; let isDoubleClick = false; <ins> let isMiddleClick = false; </ins> let openToSide = false; const browserEvent = e.browserEvent; if (browserEvent instanceof MouseEvent) { isSingleClick = browserEvent.detail === 1; isDoubleClick = browserEvent.detail === 2; <ins> isMiddleClick = browserEvent.button === 1; </ins> openToSide = (browserEvent.ctrlKey || browserEvent.metaKey || browserEvent.altKey); } const focused = this.list.getFocusedElements(); const element = focused.length ? focused[0] : undefined; <ins> if (isMiddleClick) { if (element instanceof Breakpoint) { this.debugService.removeBreakpoints(element.getId()); } else if (element instanceof FunctionBreakpoint) { this.debugService.removeFunctionBreakpoints(element.getId()); } return; } </ins> if (element instanceof Breakpoint) { openBreakpointSource(element, openToSide, isSingleClick, this.debugService, this.editorService).done(undefined, onUnexpectedError); }

Discussion:
This feature request is about accessibility. This is only for removing 1 or 2 Breakpoints from a list of, say 30 breakpoints across multiple files in the Breakpoints List. Right now, there is no Close Button in the Breakpoints List when debugging a program in Visual Studio Code. The only way to remove 1 or 2 breakpoints right now is to: on the Breakpoint from the Breakpoints List. the red dot on the line highlighted by VS Code. the Breakpoint is now removed from the Breakpoints List. I would like to request that we can simplify this process by using the middle scroll wheel click on the mouse, so when you click on one of the Breakpoints with the scroll wheel button, it does all of the 3 steps mentioned above. And, it can act as a Remove Single Breakpoint mouse click action. Just like the middle scroll wheel click on tabs to close 1 tab out of many other tabs.
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like: <!-- score: 0.647 --- <!-- score: 0.595 --- <!-- score: 0.583 --- <!-- score: 0.563 --- <!-- score: 0.555 --<!-- potentialduplicatescomment --
you can already use "delete" or "cmd + backspace" on the mac to remove the breakpoint. That way you can easily remove multiple. I do not understand what this has to do with accessibility since all these actions are already accessible. A middle click to remove a breakpoint would be consistent with our middle click to remove a tab. Thus I accept prs that fix this Code pointer Simply add a listener in the list for the mouse click, check if it is the middle one and if yes remove the breakpoint. If nobody volunteres I can look into this in the future
I am not aware of using "delete" keypress to remove the breakpoint. How is this triggered? If I press "delete", it would remove a character in my source code.
focus on the breakpoints view in the debug viewlet F1 Debug: focus breakpoints
Wouldn't it be more user-friendly just to add a close button for breakpoint list item? For example: !
It's more about middle scroll wheel click to remove breakpoints, and I think what you pointed out may be a separate issue.
release notes?