Sometimes when working on larger pieces of code or on a larger package I really miss the option to bookmark the current line/position in the code.
Since the front-end is quite extendable my question is: How could one implement bookmarks in the fronted when editing a package (.m) file?
So the requirements are that a short cut (e.g. Ctrl-Alt-Numpad 1) would set the bookmark and another short cut (e.g. Ctrl-Numpad 1) would move the cursor to the bookmark.
(* ::Bookmarks::1:: *)) at the current cursor position and then somehow find the string and move the cursor there again. But of course I'd except any answer that fulfils the bookmar requirements. $\endgroup$(* BOOKMARK *)and then just find it again. I don't mind if such comments are visible. The front end already uses special comment tags in packages, for example(* ::Code::Bold:: *). This is where I got my original idea from. $\endgroup$