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

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/

Related

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.

VS code, jump to after closing quote/braces/parenthesis

With Visual studio Code if I'm in the middle some quote/braces/brackets/parenthesis is there a way to jump to after end of the current block?
Eg.
If
it allows me jump to the end of the quote
Or from:
to
April 2020 Update
Yes, use Ctrl+Shift+\, (or ⇧ + ⌘ + \ on Mac) to jump to closest bracket. If cursor is currently in-between the brackets, first it will jump to closing bracket, each consequent press will jump between opening and closing brackets.
You can reassign the binding to your liking in Keyboard Shortcuts using editor.action.jumpToBracket command.
Use ctrl+right it triggers the cursorWordEndRight command.
It moves the cursor by whole words. These "words" include spaces, parenthesis, commas and the likes.
You can modify the keybinding shortcut to what you desire.
I personally use ctrl+alt+space for now.
It's not perfect but it's the best alternative I have currently.
The TabOut extension doesn't do exactly what you're describing (I think), but comes very close.
Note: I'm still trying it out so I'm not sure if I like Tab meaning different things depending on the context, but so far it's getting me pretty close to what I want.
use Ctrl + Enter in Windows 10 if you want get outside and go downline. or Ctrl + Shift + Enter if you want get outside and go upline.
Finally find out on Mac to jump to closing bracket/parenthese :
⌘ + ⇧ + £

Find Replace Hotkeys In Eclipse

Anyone know of a set of hotkeys that can perform a find/replace in eclipse?
Currently the flow looks like:
Select line or lines
Ctrl+F
Type phrase
TAB
Type replacement
And then I have to do the unthinkable and grab my mouse, choose selected lines and then click on replace. It doesn't sound like much, but it seriously disrupts my flow when i'm doing a bunch of word replacement. I wish their was a way to choose "selected lines only" and "replace all" using keystrokes only besides having to hit TAB 12 times. Or maybe i'm using the wrong tool within eclipse for this sort of thing...
Using Ubuntu and Eclipse Luna 4.4.2
Using Find/Replace for refactoring seems like a smell. You should instead use the refactoring operations
Rename : Alt + Shift + R
Extract constant : Alt + Shift + K
Extract method : Alt + Shift + M
Extract variable: Alt + Shift + L
Inline : Alt + Shift + I
Change method signature : Alt + Shift +C
Introduce indirection
Introduce parameter object
and so on, which all do a kind of replacement by themself, but always work on the syntax tree and not on the text. However, the refactoring support depends much on the language used in the project, and while Java has really good support in Eclipse, this might not be the case for other languages.
I had been trying for this for a long time and ended up in multiple pages without help. I figured it out myself after playing around
For the first time, you need to do the below
Ctrl + F - to open the search box on the top right corner of the IDE (as in image)
You might have to drill down (using the small icon on the left of the search box) to see the replace text
This setup stays from now onwards.
Now you can simply use
Ctrl + F, Tab, Alt+Shift+Enter combinations to do the search and replace
I use eclipse 2020-03 on windows. I am pretty sure many of the previous releases had the same functionality on linux as well.
Screenshot of the feature:
I found thath ctrl+K works in my ide (Neon.3 Release (4.6.3) on windows)
First use Ctrl+f to set a term for search, then use ctrl+K to move to next.
If you need to replace something, keep in the clipboard the text and use ctrl+K, ctrl+v.

Hotkey to come back to where you were before F3?

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)

Is there a keyboard shortcut to "untab" (move a block of code to the left) in Eclipse or Aptana Studio?

It's so easy to select a block of code and tab out, but how about the reverse?
Currently, I just search and replace for white space at the beginning of the line. Is there anything faster?
In Visual Studio and most other half decent IDEs you can simply do SHIFT+TAB. It does the opposite of just TAB.
I would think and hope that the IDEs you mention support this as well.
Shift-tab outdents again :)
The standard shortcut keys are covered in Standard Accelerators.
You'll find many of the more esoteric ones on FAQ What editor keyboard shortcuts are available?.
Here is a general answer for untab:
In Python IDLE: Ctrl + [
In Eclipse: Shift + Tab
In Visual Studio: Shift + Tab
In general, Shift + Tab works for any environment.
This workaround works most of the time. It uses Eclipse's 'smart insert' features instead:
Control + X to erase the selected block of text, and keep it for pasting.
Control + Shift + Enter, to open a new line for editing above the one you are at.
You might want to adjust the tabbing position at this point. This is where tabbing will start, unless you are at the beginning of the line.
Control + V to paste back the buffer.
I hope this helps until Shift + TAB is implemented in Eclipse.
Shift + Tab does that in Flex Builder (based on Eclipse), so it hopefully should work in regular Eclipse :)
In PyCharm, just use Shift + Tab to move a block of code left.
You can do this by going to the Window menu → Preferences, and then open the General list. Choose Keys.
Scroll down the list of keys until you see "Shift Left". Click that. Below that, you'll see some boxes, one of which lets you bind a key. It won't accept Shift + Tab, so I bound it to Shift + `. Apply Apply and Close, and you're all set.
Yes, in PyCharm: Shift + Tab works fine.
You can also change the shortcut. Use the Command + K, Command + S shortcuts to open the Keyboard Shortcut menu. Search for the "tab" and find the "outdent" in the list.