Flash Builder - Disable highlighting of all instances of a word in code editor? - eclipse

In Flash Builder, for objects, properties, variables and such where your cursor is on it, the editor highlights all instances of that name in the code with a grey box. This can be very distracting and I was wondering if there was a way to turn it off or if there is a hot key to disable it.
Another things that is very distracting are the mouse hover popups, although apparently there's no way to disable those :
Flash Builder + Eclipse: disable mouse hover popup?

I have been annoyed by this as well, and finally found something that helps. You need to turn off "Mark Occurrences" by clicking the button in the IDE that looks like a highlighter.
Here is a link to where I found that answer:
http://jwopitz.wordpress.com/2008/02/22/flex-builder-3-annoyance-code-highlighting-how-do-you-turn-this-thing-off/

Related

IntelliJ Cursive s-form documentation on hover over

Is it possible to have IntelliJ/Cursive display a pop-up with s-form's definition and documentation when that s-form is hovered over with a mouse, like it's done in Eclipse? Ctrl+Q seems to bring up the window, but I'd like for it to open up automatically without me hitting a shortcut. Is this a configurable setting or something? Also, what is a similar key combination to bring up a source pop-up?
Thank you in advance.
No, there's no way to do this automatically on hover. You can see the source pop-up using View->Quick Definition - the keybinding will depend on the keymap and platform you're using. The keybinding should be shown in the menu, otherwise you can search for "Quick Definition" in Settings->Keymap.

Disabling the hint window that EClipse Editor shows

when I hover over the codes in ECLispe Editor it pops up this yellow hint box for everything that I am on it to show some useful info about it. well it is cool but it is also annoying! is there a way that I can deactivate it as Default setting and then anytime I needed it I hit a hot-key to bring it up...
If you go:
Window->Preferences
In the tree look for "Hovers" under Java->Editor->Hovers
You can uncheck all the ones you do not want, or add keyboard shortcuts to activate a Hover. Not particularly useful, but may help.

Flash Builder + Eclipse: disable mouse hover popup?

Is there any way to disable the inane popup which appears when the mouse hovers over code?
In Eclipse you can remove this by going to Window->Preferences->Java->Editor->Hovers and deselecting everything there. I could not find the same in Flash Builder though you can disable some sort of hover through the same method (Window->Preferences->Flash Builder->Editors->Actionscript Code)

How to Display Current Function in Eclipse

I miss a certain functionality in Eclipse. I would like to know the name of the current function the cursor is currently inside. This is useful when browsing unknown code using the search function, for example.
Any idea how to show it? Maybe a plugin?
I'm using the "Toggle Breadcrumb" option from toolbar:
It shows a nice breadcrumb, ending with current function name.
It's quite handy for me, as Outline becomes cumbersome to use if you have zilions of functions.
It produces the following structure above your Java Editor (truncated at the picture below):
The "Outline" view shows the current function.
It may be necessary to enable the 'Link to Editor' option in the Outline View dropdown menu. This might be off by default for CDT.
I was looking for something similar (Xcode-like bar at the top showing the current function, where you can also go to another function by clicking on it to open a popup list of functions). Here is what I settled on with Eclipse 3.5.1 CDT:
I moved the Outline view to the top, resized it to make it a 1-line horizontal strip (don't make it too narrow), and selected "Link With Editor" in its menu, so that it always shows the current function. However, this doesn't open a popup list like Xcode. For that functionality, I assigned a shortcut to the "Show Outline" command which does open a popup list of all functions.
The Eclipse function 'show outline' will pop up a list of outline objects, and it will highlight the object your cursor is inside in grey. It's typically bound to 'ctrl-o' (the letter 'o', not zero), but you can re-bind it as you see fit. I'm running Eclipse with the CDT plugin and it works pretty well for me.
To enable the breadcrumb invoke Toggle Java Editor Breadcrumb in the toolbar or press Alt+Shift+B in the Java editor.
You can also display the Quick Outline (ctrl+o). This way you see the context quickly without having to have a permanent Outline Window linked to the Editor.
Use the "Link With Editor" option on the outline menu
Press Ctrl+o (cursor is currently inside a function at a particular line).
It highlights the current method, or name of the class if the cursor is outside the method body.
You can click on highlighted method.
It has got inline search feature ...start typing name of the method to navigate to the specified method or method with matching search pattern.
If you press again Ctrl+o to shows the inherited members/methods.
Using outline with "link with editor" option worked also for me, thanks!
Just an addition, you can move outline pane in to the same window group as search, progress etc. saves the space in your perspective instead of keeping it at another group.

Faster way (keyboard shortcuts?) to use quick fixes in Eclipse?

I often use the Eclipse feature (Galileo) of suggested error corrections to automatically create code stubs or to refactor things. For example, I would write a method that calls other methods which don't exist yet, then move the mouse over the error message and click on "create method". Or, change this to the class name and choose "add static modifier" from the quick fixes.
I think this is very convenient because it lets me stay in one place in my code and sort of "remotely" wire up what's not currently visible on my screen. What I think is annoying though, is that I have to leave the keyboard, hover my mouse over the error symbol, wait for the tooltip to pop up, and click on the option (doing that, I sometimes move the mouse a little over the edge and the tooltip goes away again - very annoying).
Am I missing a faster method here? I can't seem to find a keyboard shortcut, but then I have overlooked stuff from the huge preference dialog before.
Ctrl+1 : Quick Fix.
(Cmd+1 on Mac)
Just put your cursor on the part you suspect you can perform an action (correction, refactoring, ...) and hit the Quick Fix shortcut. The same popup will be displayed, and you can select the right option with the up and down keys.
That, combined with Ctrl+3 (Quick Access) gives you most of eclipse features at your fingertips ;)
See also:
Eclipse Tip: Shortcut to Quick Fix
My Favorite Eclipse Shortcut: Quick Fix
Eclipse hotkeys: eclipse shortcuts gold mine.
As an additional tip, a specific type of quick fix I use all the time has a dedicated shortcut:
Alt+Shift+J: Add Javadoc comment stub for current method.
After using ctrl+1 like mentioned in the top answer, press ctrl + enter to apply the selected fix all to problems of the same category.
In general, keyboard shortcuts in IDEs (and code tools in general) are coming from a user principle that holds that the more your hands/fingers can remain poised over the keyboard (as in the f-j centered "touch typist" position), the more productive you can become. This is probably why the use of the number keypad is not encouraged, or other keys, less common to the most basic layout keyboard, are not used. Many hold that useful keyboard shortcuts should be easily reachable from this position.
One thing I will say about eclipse keyboard shortcuts is that if you use a popular Windows presentation utility called Zoom-it, you need to turn that off when using eclipse. There are several show-stopper conflicts between the two, such as Ctrl-1 and Ctrl-3.