(uri: Uri, range: Range)
| 16 | import displayPendingEditDecorations from "../util/editDisplayUtils"; |
| 17 | |
| 18 | function getBreakpoints(uri: Uri, range: Range) { |
| 19 | return debug.breakpoints.filter( |
| 20 | (breakpoint) => |
| 21 | breakpoint instanceof SourceBreakpoint && |
| 22 | breakpoint.location.uri.toString() === uri.toString() && |
| 23 | breakpoint.location.range.intersection(range) != null |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | export default class SetBreakpoint implements Action { |
| 28 | getTargetPreferences: () => ActionPreferences[] = () => [ |