Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
36 views

Get the suffix for the date string

Sometimes I have the date as part of the file name. And then when Emacs autocompletes the file name, it puts the part of the date. In these situations I have to write the rest of the date manually. ...
11
votes
2answers
129 views

Prettifier isn't pretty

Some context I'm implementing a self-closing pairs auto-completion feature in Rubberduck. One of the challenges is that the VBIDE API doesn't allow editing a line of code by "injecting" characters: ...
-1
votes
1answer
21 views

Embolden parts of auto-complete suggestions that don't match the query

I made a function to embolden text that doesn't match a string, but it appears to be very performance-heavy. I am certain that there are much better ways to do this, but with what I tried, I ran into ...
6
votes
2answers
145 views

Console autocomplete for complex names

I am currently writing a C# console application. Part of it is, that the user needs to enter a fairly complex system name. To make it easier I wrote a function that uses a string[] keywords and auto ...
4
votes
4answers
98 views

Filtering a name Array in JavaScript

I was wondering if there is a better, more elegant way to write the following JavaScript code block: ...
3
votes
1answer
187 views

Autocomplete implementation in Python

I have an autocomplete implementation in Python, and it passed all of the unit tests that I have included at the bottom. ...
16
votes
2answers
221 views

Enhancing autocompletion for VBA code

Context The Visual Basic Editor (VBE) does a good job at completing member scopes, for example when you type this and hit ENTER... Private Sub DoSomething You ...
0
votes
0answers
2k views

Angular 2 Autocomplete

I've tried to build a fairly simple, reusable and functional Angular2 autocomplete component. The component: ...
4
votes
1answer
103 views

Autocomplete for Kafka Streams application

I'm building an application that's going to create different autocomplete suggestions of data that sits in Kafka using Kafka Streams application. Data is read from a relational database and looks as ...
4
votes
2answers
1k views

Autocomplete selector country/region/city for ex-USSR countries

I wrote a selector for several countries. This selector allows the user to choose a country, then a region and then a city. After the user chooses a city, it displays the selected object's country ...
8
votes
2answers
1k views

Javascript typehead using debounce

This is the code I wrote for making a JavaScript typeahead/autocomplete, which displays cities based on the user input. It would be great if you could suggest some improvements on the code quality. ...
3
votes
2answers
2k views

Autocomplete for tkinter Entry widgets

Since tkinter doesn't provide easy autocompletion settings for tkinter.Entry widgets, I decided to write a widget with autocompletion functionality myself. I've ...
2
votes
0answers
147 views

Autocomplete ComboBox

Kind time, I apologize in advance for verboseness. Not so long ago I performed a test task on creating an autocomplete list of cities. From the functional: When you enter the first character, the ...
3
votes
1answer
146 views

jQuery autocomplete for all place names in the UK

I made an autocomplete input box of every town, city and village in the UK. Yes, every single one. The load times are painful so is there a way to reduce that? Here is a sample: ...
8
votes
1answer
3k views

Autocomplete engine

The purpose of this program is to implement logic of autocomplete feature (Google Search, for instance). The code is divided into 3 parts: Term - represents single ...
1
vote
0answers
415 views

JavaScript Wikipedia search using jQuery autocomplete

The goal is to query the Wikipedia API with a search, and present the user the autocomplete options based on an API call that shows possible Wikipedia pages when entering the search using the jQuery ...
1
vote
0answers
23 views

Use 'completing-read' to choose multiple items without replacement

I want to allow users to enter a list of strings, drawn without replacement from a set of available strings I have just determined, and joined with commas. So, if the list was ...
4
votes
1answer
207 views

jQuery Search Suggestion Generator

I'm currently using a PHP shopping cart, and finally decided to implement a search suggestion feature. There are some already available solutions out there, but I wanted to gain control over how mine ...
1
vote
0answers
639 views

An HTML Combobox with Autocomplete using jQueryUI and require.js

Hope this is the right place. I've never developed on a team so never had any feedback on my code and I'd like to know what others think. I'm using this in a current project and it is working really ...
20
votes
1answer
4k views

Autocompleting console input

Yesterday I stumbled upon a Stack Overflow question that asked if it was possible to implement Tab-triggered auto-completion in a console application. I thought that was an interesting idea, so I ...
1
vote
0answers
510 views

A (possibly) great Polymer autocomplete widget

I have just finished writing this: https://github.com/mercmobily/hot-autocomplete This is the source at the time of me writing this post: https://github.com/mercmobily/hot-autocomplete/blob/...
2
votes
1answer
497 views

My first Meteor autocomplete

I am trying to learn Meteor, so I tried to write a basic location autocomplete. Currently, given a string, it will request suggestions from https://photon.komoot.de/ (amazing free location ...
6
votes
3answers
3k views

Autocomplete Trie Optimization

I'm currently playing with the Typeahead problem on Talentbuddy. There are already 2 questions on this subject (Typeahead Talent Buddy and Typeahead autocomplete functionality challenge), but none of ...
6
votes
2answers
667 views

Typeahead autocomplete functionality challenge

I'm working on a Talent Buddy challenge . In this challenge you have to design the autocomplete functionality of Twitter. You are given a list of queries and possible usernames. You have to return the ...
1
vote
1answer
358 views

Adding, deleting elements as per autocomplete results

I am working on a bookmarker project for replacing storage of bookmarks in a web browser. It will be storing bookmarks as per categories in a database. I have written some jQuery for the WIP search ...
2
votes
2answers
550 views

Module to support autocomplete for movie tags

I've just completed a JavaScript module and I've got a strong feeling that this is borderline spaghetti code. My task was to build a tagging form which adds selected tags to hidden outputs to be sent ...