Javadoc text not appearing on mouse hover - mouseover

Recently at work we've been told to switch to using the Spring Tool Suite (running Eclipse-Juno platform SR2 v3.8.2)
Things are mostly well and good except when I go to mouse over any methods or constructors, my javac window only appears blank. (see screenshot)
I've looked through the preferences (predominately Content Assist and Hovers), but nothing seems to address this.
Any ideas? Note: I still have Eclipse Luna on my laptop too...mainly because I got fed up with trying to remedy the issue and would go back to using that instead. Could that be the culprit?

Check hover configuration in Eclipse, Window - Preferences; select Java -> Editor -> Hovers
Using Hover Help

Related

How do I disable line centering in Intellij Idea Debugger?

When debugging program in Idea (I'm using 14.1.5 Community Edition), it attempts to put the line I'm currently on close to the center of the screen. And it does so every single step. However, I find this default behavior very annoying, it looks like the code is jumping around.
I wonder if there a way to customize the debugger view in a way that the code would be fixed (as long as I'm not leaving one screen of code) and the current line highlighting would be moving around? (I didn't find it in the Debugger section of the settings.)
Many thanks.
You want to disable "Focus application on breakpoint" which is in the settings under Build,Execution, Deployment > Debugger - it's the first checkbox. It's help documentation reads:
If this check box is selected, on hitting a breakpoint, IntelliJ IDEA will show the location of this breakpoint in the editor and will attempt to bring its frame to the front.
This should do the trick.

How to debug android UI styles

Please do you know about any tool which would allow me to debug Android UI in the way web debug tools work? I mean view which style is applied to each particular View, or also I would like to be able to see some inheritance tree etc..Do you guys know about something like that?
The only way I know of to look which style is applied is to look in xml. Simply search for Style and you'll be able to go through them one at a time, but something like web debug doesn't exist as far as I know.
Inheritance trees for styles are also not present and you'll have to go through them the hard way (writting on paper or something). In general android styles is a pain to learn but when you've learned to navigate it you'll be able to live with it :)
I haven't found a method to do so other than Warpzit's method. In Eclipse, there is a helpful tool to see your UI hierarchy though. When in debug mode, open the "Devices" window (if you can't find it: Alt+Shift+Q, Q). Then click the "Dump View Hierarchy for UI Automator".
You can see some view attributes there as well as the way it's build up.
There's also a hierarchy viewer in the SDK tools/ directory, but I haven't used it yet.
I know this is not the answer you're looking for, but this is what I do because I don't know of a better way.
On Eclipse, I start with the xml layout in question and I drill down by pressing the Ctrl key (or the Command key on a Mac) and clicking on the style in question (the style name becomes an hyperlink when that key is pressed down and I hover the mouse over it). Then, I use the yellow arrow keys on the Eclipse toolbar to come back through each pane of code once I need to go back to the root of where I started from.
On Android Studio Preview, which unfortunately I can't use at work because everyone uses Eclipse, the same shortcuts work as well, but unlike Eclipse, the navigation support and the refactoring support work much better, I'd recommend that you look at Android Studio if you're not satisfied with Eclipse's support (my only warning is that once you have a version of Android Studio that works for you, that you do not update it, because updates of Android Studio tend to break it frequently).
To find it, please go to Layout Inspector,
Tools --> Android --> Layout Inspector

IntelliJ 10.5.2 on Mac OS X Lion: Command-Option-L stops working

This is just plain weird.
For some reason, the accelerator Cmd-Opt-L (reformat code) no longer works inside IntelliJ 10. This started with one of my projects and seems to have "spread".
Other accelerators work normally. Reformat works if I use the menu to select it, or Cmd-Shift-A and choose it from the "Find action ..." popup dialog.
I've tried to see if some conflicting application is the cause. I'm using 1Password and it defines an accelerator for Cmd-Option-L, but I disabled that, restarted IntelliJ and still no dice.
A quit-and-restart doesn't help.
More oddness. I pulled down the Code menu and typed Cmd-Opt-/ ... I can see the menu item flash and then my editor updates. If I pull down the Code menu and type Cmd-Opt-L, there's no reaction (the menu line for Reformat Code does not flash, the menu stays up). So ... one theory is that something elsewhere on my Mac is consuming the Cmd-Opt-L before it gets to IntelliJ? If that's so, how would I track it down?
Your theory is correct. As a workaround you can remap reformat code action to different shortcut in Settings | Keymap.
As for tracing the offending application, I'd try killing one by one and see when it starts working again.

How to make Eclipse's content assist behavior similar to Visual Studio's IntelliSence

I'm a C# developer and recently started to use Eclipse IDE to write Android apps. The most noticeable change for me is that content assist doesn't popup automatically. Is there a way to do so? In VS it pops up almost always.
P.S. And a more general question: how to make eclipse to look more like VS?
Hey the best solution I've found, in terms of getting eclipse to pop up for everything I type, is going into windows > preferences > java > editor > content assist and adjusting the trigger characters. It's normally only set to ".". I changed mine to ".(abcdefgh..." etc. It's not quite as beautiful a solution as I'm sure you'd like, but it does an acceptable job making sure I don't have to remember what I've named things.
Go to Windows -> Preferences -> Java -> Editor -> Content Assist and check "Enable auto activation".
And what do you mean by "look like VS"? Fonts, colors, ...?

Keyboard access in the C# project settings editor?

Does anyone know how to switch between the major tabs/pages in Visual Studio's C# project settings editor, using only the keyboard? I'm talking about the things along the left side that are labeled Application, Build, Debug, Resources, Settings, etc. It works fine to Tab between the controls on the currently selected page, but I haven't figured out how to switch between pages, and I like to avoid leaving the keyboard as much as possible.
The page that I most frequently want to access is the Debug page, so a shortcut that takes me directly to that page would be fine even if there wasn't a general method. I tried the Project.StartOptions command, but that doesn't seem to be it.
Ctrl + Pg Up and Ctrl + Pg Down will navigate between those tabs/pages.

Resources