Hotkey to come back to where you were before F3? - eclipse

When you press F3 or you hold Ctrl and click on something in Eclipse it takes you to where the thing your cursor is on was declared.
Is there a hotkey to come back to where you were before? Also, is there a way to keep a history of some sort to press it twice to go back twice? This would be useful when going on "wild goose chases" looking for something random in large code bases.
The only similar thing I know is Ctrl + Q to return to the last edit you made. Before going off you can change something arbitrarily and change it back, go hunting, and do Ctrl + Q to get back to the start.

Alt + Left Arrow (back in history)
Alt + Right Arrow (forward in history)

Related

Right control is bound, but Left control is unbound

In my keyboard, the letter c and q is broken. My intention is to replace it with right ctrl+S and right ctrl+K, with the intention to make left ctrl works normally. It works to type just c and q, but suddenly left ctrl+s means s and left ctrl+k means k, instead of a normal ctrl+s. I also intend to make it work when both ctrl is pressed, so left ctrl+right ctrl+s is ctrl+c, which is used to copy a text.
Basically:
Left ctrl = normal
right ctrl = type the broken letter
both key needs to compose, so I can type left ctrl + right ctrl + s
My current code is:
>^s::send c
>^k::send q
Note that both ctrl works normally for other letters. How to fix that?
Also, if this is still the same question, it also doesn't work with capslock and shift. If the answer also fixes that, I will appreciate that.

SSMS Uncomment Selected shortcut no longer working

I make frequent use of SSMS's shortcut keys CTRL + K, C, to comment a block of code, and CTRL + K, U to uncomment.
Today, I went to do this, and noticed thatCTRL + K, U no longer works. Instead, it shifts focus to the availabile databases dialog in the top left of the screen, which apparently has the shortcut of CTRL + U.
I have checked the settings and CTRL + K, U is still mapped to uncomment selected code, but this is flat out not working.
Is this a bug, or something that I can fix?
SSMS v17.8.1
ApexSQL made patch to fix this problem
Choose Get updates for ApexSQL
Check show patches and press update
Seems to be an issue with ApexSQL refactor addin. I disabled it and the keyboard shortcut is working again.

Shortcut to go to a function in Netbeans

In Eclipse, I can go to a function by toggling Ctrl + Mouse Left Click. It doesn't seem to work in Netbeans. Is there an alternative to do so? It would save me a lot of time. Thanks.
In Netbeans Ctrl + Mouse Left Click should work. (For me it's working)
or place the cursor on method(function) call and use Ctrl + Shift + B or Ctrl + B so this will take you to the method definition(method body).
Hope this will be helpful.

Make Eclipse's Incremental Find wrap around the end of the page

In Eclipse you can hit Ctrl + J to use Incremental Find which is awesome. But if you start out half way down the page, and try to find something in the top half it won't find it because it doesn't wrap around, it stops at the bottom of the page. So I often end up jumping to the top of the page, just to incremental find to the middle.
Is there a way to force incremental find to wrap around the bottom of the page?
Note: I realize there is also Ctrl + Shift + J to do a reverse incremental find, but that has the same limitations.
So I finally figured out that if you hit Ctrl + J the first time, it won't wrap so it won't find the top half. If you hit Ctrl + J a second time it will wrap and search the entire page.
Just hit Ctrl + J again.
A close but not direct solution is to use the old way of Ctrl + F, and check the "Wrap search" and "Incremental" options.
There is a plugin for better incremental search that does wrap around by default, I use it everyday.
https://code.google.com/p/eclipse-glance/

Mouse button modifiers - Autohotkey

I want to set up my mouse buttons to perform different functions if I press and hold them, or if I press them while holding down shift/alt/ctrl.
As some trivial examples:
Shift-leftMouseButton = "back" in firefox history?
Shift-rightMouseButton = go forward in firefox,
Press-and-hold right mouse button = some other action in firefox (eg, move to opposite screen and maximize).
EDIT:
I forgot to mention I have 5 mouse buttons. (Microsoft Wireless Laser Mouse 6000)
Well, you can map those combinations to other key combinations, as below.
shift + left mouse -> alt + left
+LBUTTON::SendInput,!{LEFT}
shift + right mouse -> alt + right
+RBUTTON::SendInput,!{RIGHT}
Beyond that, you can execute a series of commands, if you wanted to also, say, activate a Firefox window first.
To do the press-and-hold, you'd have to use a timer and it is a bit more complicated. You'd also need to figure out how you want to execute "some other action." Do you have a set of keystrokes that would achieve what you say? For example, I have CTRL + ` mapped to switch screens, so I'd send that and then Windows key + up to do it.