auto select an item from a jquery autocomplete field - jquery-autocomplete

I'm using a jquery autocomplete (plugin v 1.1) in an older application. It works fine. I'm now writing a new one and I'm using the jquery ui 1.4.4 version of autocomplete. In the 1.1 version, if I typed izza and the only match in the resulting list was pizza, then pizza would be highlighted and clicking enter would select pizza. The newer version will not do this. Pizza will show up alone in the list but I still have to arrow down, or click it to select it. Is this a lost feature or is there a property that activates 'auto-select'?

Scott Gonzalez has an extension that will do this. You can find it here.
It worked perfectly.

Related

not able to get the bounding box of an element in blockly only in latest Firefox

There seems to be a bug in the latest version of Firefox when trying to retrieve the absolute position of a field within Blockly.
I am building a custom field that works a somewhat like the text input field. I need to get the absolute position of the field in the window, which I can get by calling
element.getAbsoluteXY_()
this is working fine on Safari, chrome and even IE, and the older versions of Firefox. But it seems broken (unless I made a non trivial mistake) in the latest Firefox.
Context : I am superimposing a text editor on a field, which works well and gives the impression that a block contains an editor.
Did someone step into this problem (bug ?)
Damir

How can I add Wolfram Alpha to search bar in Chrome?

I want to send queries to Wolfram Alpha real fast. I've been using wiki query from search bar for ages, how can I search on WA?
Ultimately I found the solution myself, but it took me some time and I had to devise the solution myself, since all Google searches returned the extension which I wanted to avoid. Here it is.
Right click the address bar and click Edit search engines...
(or open Settings -> Search -> Manage search engines...)
Usually, you can find all recognized search engines you used already listed there, but if not, add this: (*use any keyword of your choice)
The query url: http://www.wolframalpha.com/input/?i=%s
Now it is possible to use wa query from search bar to search on Wolfram Alpha. Note, this method allows you to use any search engine.
This is really handy! I wonder if adding it in Chrome as a search engine is better than using the Wolfram Alpha chrome extension though. That is much easier to search using just combination of "=" followed by space and you can directly type in your search query to the Math engine :)
Wolfram|Alpha (Official)
Instantly query Wolfram|Alpha from any page or tab.
There is more to it, you can type formula and equations directly in your navigation bar using this on any page or tab. Pretty neat!
[Source]: From Wolfram Alpha Official Chrome Extension page
===FEATURES===
✓ Wolfram|Alpha Button – Access the Wolfram|Alpha query box with just one click. You can also right-click the Wolfram|Alpha icon to change extension options.
✓ Omnibox Shortcut – Transform Chrome's omnibox into a Wolfram|Alpha query field by typing an = sign followed by a space.
✓ Context Menu Shortcut – Highlight text to create queries through a context menu (right-click) entry.
Shouting out to StackOverflow community:
I am still learning and appreciating the power of this engine. If you guys have some resources or content apart from Wolfram's official site, please do share!
This will really help me as a beginner in the field and I can use to improve.
What better way to search than the famous Euler's Identity. In Chrome Nav bar
"=" ==> (space) ==> e^(i*pie) ==> (enter)
Or something like:
"=" ==> (space) ==> sqrt(1779)*cube(pi) ==> (enter)
And see the result instantly in Wolfram. Awesome isn't it?

Android studio breadcrumb method signature

I am looking for Breadcrumb functionality like Eclipse in Android Studio.
In Eclipse Breadcrumb shows "method signature" when pointer(cursor) come inside whereas in Android Studio Breadcrumb is good for nothing.
Please find attached for better insight.
The accepted answer is not correct.
The feature is still here in 2018.
It's under View -> Active Editor -> Show Breadcrums.
The breadcrums are situated south of the current editing window, not north as in Eclipse.
You can enable it via View -> Navigation Bar and check it.
But it will show breadcrumb/navigation upto class only and not upto the method signature.
As suggessted by AVEbrahimi also, ctrl+F12 will show method signature.
Seems this feature gone away.
You should use:
Ctrl+F12 OR CMD+F12
Here are two ways to see the method signature through a tool tip that hovers next to the method you have selected or put the caret on.
Press ctrl + P with the method selected.
or
Go to View > Show Parameter Info with the method selected.
I found the above solution on the second link I looked at after this one. The link was for a different IDE but the hotkey works in Android Studio.
Show Parameter Info
Also, you can go to Settings > Editor
Under "Other" check "Show quick doc on mouse move". This will show a popup tool tip with information about the method including parameter info.
Found that here:
View method information in Android Studio
Pressing Alt+Q displays the name of the current context, which is actually the method name (Context Info) quickly and easily.

pageUp and pageDown used to move caret

How to move the page together with the caret?
In TM1 it was possible to specify this in
~/Library/KeyBindings/DefaultKeyBindings.dict
However it seems not to work in TM2.
It seems like this option is now implemented in the lastest version of textmate2 , released on 2012-02-18, version 9064, as mentioned in the release notes.
Implement option page up/down (for moving caret).

What Redmine plugin allows quick navigation between projects?

Is there a redmine plugin that allows quick navigation between projects?
Feature it might have may be showing a pop up dialog that allows you to see all your projects at a glance and jump to them, or the time that gives a filtered list as you type the name?
How about the built-in project drop-down list?
Here's how I use it with FireFox (windows) - no mouse needed:
shift + alt + f : puts the focus in the search box
tab : moves focues to the project drop-down
... start typing the name of your project (usually the first 2-3 letters are enough)
tab or enter to go to the project
Last time I checked, there was no accesskey defined for the project drop-down, hence using the one for the search box.

Resources