Questions tagged [autocomplete]

Autocomplete is a UI feature provided by applications, where the program predicts a word or phrase that the user wants to type without the user actually typing it completely.

Autocomplete is a user interface feature provided by applications, where the program predicts a word or phrase that the user wants to type without the user actually typing it completely.

It is provided by many web browsers, email programs, search engine interfaces, source code editors, database query tools, word processors, and command line interpreters.

16719 questions
102
votes
6 answers

jQuery autocomplete with callback ajax json

I'm trying to find a way to use jQuery autocomplete with callback source getting data via an ajax json object list from the server. Could anybody give some directions? I googled it but couldn't find a complete solution.
RollRoll
  • 8,133
  • 20
  • 76
  • 135
102
votes
8 answers

How can I enable auto complete support in Notepad++?

I am trying to add simple syntax highlighting and auto completion for a simple scripting language... I added syntax highlighting using this article Now I want to know how to enable auto completion with Notepad ++ for my custom language. Does anyone…
Chathuranga Chandrasekara
  • 20,548
  • 30
  • 97
  • 138
98
votes
9 answers

Bash autocompletion in Emacs shell-mode

In the GNOME Terminal, Bash does smart auto-completion. For example apt-get in becomes apt-get install In Emacs shell-mode, this auto-completion doesn't work, even after I explicitly source /etc/bash_completion. The above example sticks as in…
Chris Conway
  • 55,321
  • 43
  • 129
  • 155
97
votes
4 answers

How to define custom sort function in javascript?

I use atocomplete.jquery plugin to suggest input text, as the result I get this array: ['White 023','White','White flower', 'Teatr'] When I start to search something thats begin from te substring it shows me array sorting like this: 'White','White…
kirugan
  • 2,514
  • 2
  • 22
  • 41
97
votes
20 answers

Automatically insert a matching brace in Vim

I spend way too much time fumbling around because Vim doesn't handle closing braces like most IDEs do. Here's what I want to happen: Type this: if( whatever ) { and get this: if( whatever ) { | } where mean hit the ENTER key and | is…
Bob
  • 3,283
  • 3
  • 20
  • 14
96
votes
11 answers

Xcode 7.3 autocomplete is so frustrating

There is a new autocomplete in Xcode. Probably might be useful because it checks not only beginning of names etc. But I found that very often it doesn't find a class name or a const name at all etc. I need to type in entire name by myself. Over all…
matthewfx
  • 1,244
  • 1
  • 9
  • 14
96
votes
10 answers

Google Autocomplete - enter to select

I have Google Autocomplete set up for a text field of an HTML form, and it's working perfectly. However, when the list of suggestions appear, and you use the arrows to scroll and select using enter, it submits the form, though there are still boxes…
kinkersnick
  • 1,301
  • 1
  • 13
  • 19
95
votes
10 answers

How to remove/change JQuery UI Autocomplete Helper text?

It seems that this is a new feature in JQuery UI 1.9.0, because I used JQuery UI plenty of times before and this text never poped up. Couldn't find anything related on the API documentation. So using an basic autocomplete example with local source…
user1236048
  • 5,542
  • 7
  • 50
  • 87
93
votes
7 answers

How do you automatically remove the preview window after autocompletion in Vim?

I'm using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as expected, as well as a scratch buffer preview window with documentation about the selected member or…
Ben Davini
  • 1,033
  • 1
  • 8
  • 6
92
votes
7 answers

Autocompletion in the MySQL command-line client

In Linux, and many other systems, when navigating the terminal you can press Tab to auto complete a directory or file name. I'm wondering if there is anything like that in the MySQL terminal. For example, if I want to get the description of…
Alan B. Dee
  • 5,490
  • 4
  • 34
  • 29
92
votes
2 answers

Disable Autocomplete on . (dot) in VSCode

Example: trying to type return res.data after typing the . it autocompletes to return resizeBy. Have already turned off autocomplete on enter, and don't want to turn off editor.quickSuggestions completely as I still like the menu coming up (just not…
dan674
  • 1,848
  • 2
  • 15
  • 21
91
votes
3 answers

How does code completion work?

Lots of editors and IDEs have code completion. Some of them are very "intelligent" others are not really. I am interested in the more intelligent type. For example I have seen IDEs that only offer a function if it is a) available in the current…
stribika
  • 3,146
  • 2
  • 23
  • 21
90
votes
5 answers

When in Vim insert mode, is there a way to add filepath autocompletion?

I write a lot of shell scripts and I am constantly having to enter in filepaths. I am wondering if anyone knows of a way to get Vim to autocomplete filepaths while in insert mode, just like when you are in your favorite shell you tab to complete the…
stephenmm
  • 2,640
  • 3
  • 30
  • 48
88
votes
3 answers

Autocomplete applying value not label to textbox

Im having troubles trying to get the autocomplete to work properly. It all looks ok to me but....