Repository navigation
Implement Go To Next/Previous Breakpoint editor actions - #50285
Isidor Nikolic (isidorn) merged 4 commits into
Conversation
There was a problem hiding this comment.
editor Model can be null
There was a problem hiding this comment.
It's not really checked in any other place in the file ;-)
There was a problem hiding this comment.
Instead of doing a .filter on top, please pass a "enabledOnly: true" to the getBreakpoints
There was a problem hiding this comment.
Use openBreakpointSource instead
There was a problem hiding this comment.
Can we do this in twice as less lines? seems like a lot of code is duplicated in the next 20 lines?
There was a problem hiding this comment.
The sorting is unnecessary in the end since debugModel is responsible for sorting its own breakpoints - https://github.com/Microsoft/vscode/blob/cdd8256102433bf52c2f5b05aea312775a34a669/src/vs/workbench/parts/debug/common/debugModel.ts#L1003-L1015
|
Krzysztof Cieślak (@Krzysztof-Cieslak) thanks a lot for your PR. I have commented directly in the file. |
|
You seem to have rebased instead of merge. I suggest to create a new branch to cleanup the mess. |
|
I've figured out my small problems with git, I think it's more or less ready ;-) |
|
Krzysztof Cieślak (@Krzysztof-Cieslak) thanks a lot, this looks great. Merged it in 🍻 |
Fix #31806
CC: Isidor Nikolic (@isidorn)