swt: slectionChanged is fired upon combo box expansion - eclipse

This happens only on Linux. I have a ComboViewer where some elements trigger a dialog to appear. What happens (I debugged this) is when combo box is expanded ISelectionChangedListener.selectionChanged is fired. This causes first element of the viewer to be selected and dialog launched. This occurs in a two page wizard, so once this happens and I go to previous page and then come back to the one with the viewer I don't see selectionChanged firing upon combo box expansion.
On Windows I don't see this problem - selectionChanged only occurs when element is explicitly selected from the combo box.
Does anybody know if this is a known problem and is there fix for it? I understand that my case is somewhat unique.
thanks,
Alex

Sounds like a bug to me. I understand you can search the Eclipse bug database, this might be a repeat.

Related

Atom popup, really annoying

I have no idea what plugin is doing this, but it's incredibly annoying everytime I move mouse mouse to constantly get a popup. When I am coping and pasting code it pops up, and I have to click somewhere else, and it blocks so much of screen. Anyone know what plugin might be doing this?
For me, this was happening because of the atom-ide-datatip package. I went into the settings for that package and unchecked "Show datatip automatically on mouse hover", and checked "Show datatip automatically on cursor stay" as that got in the way for me less.
In my opinion, it would be nice if you could turn off those datatips for certain data types, like int and str. I mostly use this package for the function parameter popups.

Eclipse : how to insert content assist proposals?

Just a little annoyance :
Context :
The content assist is set up and work most of the time.
But I just tried to write document.getElementById;
Problem :
The problem is I cannot select one of the proposals for document.get: when I select an entry,the popup disappears and nothing is inserted in text.
I noticed that it is preceded by a green dot. Other proposals with a blue triangle are inserted normally.
Any hint why I cannot make it work ?
Thanks,
UPDATE :
Eclipse 3.8 debian
It sorts out that the culprit was the option "guess filled functions argument". It messed up everything. Now I'm back to work (as expected).
This feature is disabled by default, but if, like me, you set it up and forgot about it, here is how to disable it :
Windows -> Javascript -> Editor -> content assist -> guess filled function argument
It should be disabled.
I've found that on sometimes the assist pop-ups can be finicky. Pop-ups can be in either selected or unselected states. If the pop-up is in an unselected state clicking the actions sometimes does not either work or the option can be incomplete.
Try testing and making sure that the pop-up is selected before you choose an option. (The pop-up border should change and you may get a scroll bar to indicate the difference.

Apatana 3.0.7 Code Assist - Auto Complete

Hey I'm a Cisco guy,
Just started with apatana to design a web page for my small business. My question is about the code assist and the auto complete feature. Apatana is very good at picking up what i'm typing be it an element, selector or even value sometimes. The issue im having is when i begin entering text. The code assist window will pop up, and present a list of possible choices based on what i have entered so far. then i have to either stop what i'm doing and press the down arrow, or grab my mouse and select my choice for assist. Or, i can continue typing out the element (or whatever) to narrow down the list. What I'm hoping is that, there exists a feature like in cisco terminal. where you can press the "tab" key to goto the next branch point of ambigious choices.
Let's say I was looking for the background-color selector. In my ideal world with code assist it would go something like this.
"b" ->[tab]
"back" ->"g"
"backg" ->[tab]
"background" ->"-co"
"background-co" ->[enter]
"background-color:"
I hope this makes sense. Thank you for reading.
Moved to http://jira.appcelerator.org/browse/APSTUD-4251
That feature is not currently available, but it's an interesting idea. I'd suggest filing a feature request at http://jira.appcelerator.org

iPhone -- Hunting Line of Code Being Executed

I am working on an iPhone project containing a ton of code. The application receives outside requests and performs actions. However, I cannot figure out exactly where the app begins executing code for a particular event. Is there some functionality in Xcode which would allow me to solve this problem?
Thank you.
Have you tried setting break points in your code? Click on the line numbers column in Xcode on the number to set a break point.
Without knowing more about what these requests are or where they are coming from, its hard to give any advice on what tools Xcode might have, but looking in any project files named <xxx>AppDelegate.m or <xxx>Controller.m would be a good start, placing breakpoints on likely sounding methods.
I figured out that you can use the Instruments Profiler to this end.
Start the profiler
Choose "Time Profiler"
In the bottom left section make sure the following are checked: Show Obj-C only and Hide System Libraries
In the timeline, click on the the point before the event occurred.
Click the left-most icon in "inspection range" (located on the top-bar immediately to the left of clock)
In the timeline, click on the point after the event completed. (optional)
Click the right-most icon in "inspection range"
Inspect the Call Tree.

Eclipse Hover over variables in debug not showing contents

At a break point my Eclipse used to show me the value of a hovered variable, now it only shows the type name.
How can I turn that back on?
Go to the preferences and type "Hovers" in the search box at the top. Make sure the Combined one is checked. Though I have found that even if they are set correctly sometimes (in the case of certain fields) it shows only the type, not sure why that's the case. You might want to ask about that in the Eclipse JDT newsgroup.
Seems like Ubuntu can intercept some of the Special Key presses.