Open Rycochet opened 6 years ago
Breakpoints are not made for this. What you want are bookmarks and this is also implemented. Right click in front of the line -> bookmarks -> toogle bookmars.
I think you can add a shortcut for this by your own.
@Chris2011 Never use them simply because they're not obvious - not least because they don't show up as an obvious colour in the scrollbar (it's almost indistinguishable from the "other instances of the selected name"). At least the red breakpoint looks the same colour as an error - which shouldn't be in there anyway ;-)
Yeah but this is not what breakpoints are made for, breakpoints are for debugging, everything else are bookmarks. And the breakpoints in TS, will come, if we will have a debugger, which is working.
This is related to #9 slightly, but not meant as a duplicate.
When coding in JS I often add a Line Breakpoint (Click just to the left of the the line number) as it gives an easy way to go back to a point you want to return to (by clicking the red line in the scrollbar).
I don't care about breakpoints in the debugging sense (sourcemaps and multiple browsers do enough), purely being able to mark specific lines I go back to in long functions and files where the Navigator panel isn't helpful.