Currently, in the code editor,
the back and fwd mouse buttons behave like if right button was clicked.
It would be nice to map it to "Go back to ..." and "Go forward to ..." actions
(the 2nd and 3rd button in the editor view).
Possibly it could be mapped to "Go to prev/next occurence in search" and other such prev/next tasks when ctrl/shift/... are held.
Support available starting from JDK 1.7.
Note the current keymap does not allow to record mouse gestures - only key bindings are supported.
+1 would like to use mouse/trackpad "back" and "forward" functions to invoke Navigate > Back and Navigator > Forward cursor location history navigation.
Not sure, which component this belongs to; partially a gesture support is needed in 'key bindings' infrastructure - currently all mouse gestures are hardcoded and cannot be changed. Adding myself to CC:
I extensively navigate this way in eclipse, it would be great to have this feature in NetBeans!
Really strange that this still does not work. Works like a charm in Eclipse and Idea.
Maybe it is possible to hardcode mouse back and forward to editor back and forward? Without remapping support for now?
Created attachment 148869 [details]
I've written a patch to make the forward and back mouse buttons work, but it will require a bug fix in the underlying JRE:
+1, for Netbeans 8