Pierre Sarrazin
2011-09-03
Eclipse is a integrated development environment (IDE) that is available on the GNU/Linux system.
When there is no selection, the Find/Replace dialog does not pre-fill its "Find" field with the word under the cursor. One has to double-click the word and then type Ctrl-F. This problem was reported as early as 2004 in the Eclipse bug report database, but there seems to be no intention to fix this.
Fortunately, Radoslav Gerganov wrote the eclipse-tweaks plug-in, which provides "Search Next" and "Search Previous" commands that are accessible with Ctrl+K and Ctrl+Shift+K. They search for the word under the cursor when there is no selection. No dialog appears, which is good considering that dialogs are relatively slow to appear in Eclipse. After all, the Find operation needs to be efficient and out of the way.
As indicated in the bug report, on can go to the eclipse-tweaks page to download the .jar file and then copy it (under root) into Eclipse's "dropins" directory, which is /usr/share/eclipse/dropins on my Fedora 14 system. Restart Eclipse and use the new keyboard shortcuts with abandon.
Sandip Chitale wrote the Path Tools plug-in, which adds commands to the Project Explorer's context menu to copy a file's full path to the clipboard (through the Path Tools sub-menu). The Explore sub-sub-menu has commands to explore the file's directory. On my Fedora system, this opens a Nautilus window on that directory.
I am looking to also have these commands in the editor tab's context menu, for cases where the current tab is showing a file whose file name is not readily available in the Project Explorer.
Back to my home page.