Skip to main content

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.

4 votes
1 answer
127 views

Flutter class extends StatefulWidget and Riverpod extends ConsumerStatefulWidget

I've noticed a difference between the auto-complete code from VS Code using Flutter and the code shown in the Riverpod documentation. Auto-complete code in VS Code using Flutter. If I do this and ...
DevQt's user avatar
  • 157
5 votes
1 answer
173 views

Trie Implementation, Graph Visualization and Auto-Completion in C

Given a list of strings (say a text file containing some C symbols: c-symbols.txt), the program can: Generate a graph of the underlying trie (-p/--prefix can be specified to inspect a specific prefix ...
Madagascar's user avatar
  • 10.1k
0 votes
1 answer
258 views

Building user friendly inputs on a mobile device

I am working on an e-commerce website. The home page has 2 inputs: Looking for and Location. The user would enter their desired product and location and click on Search as shown below: The first ...
Hooman Bahreini's user avatar
8 votes
1 answer
2k views

Radix Tree Implementation in c

I tried implementing a radix tree using C language in order to get the auto complete suggestions of a dictionary. What are the improvements that I can do here? Also, is there any better way of doing ...
rusiru thushara's user avatar
7 votes
1 answer
124 views

A simple word autocompleter meant for use in a shell

Problem I'm writing a simple shell, and I want to have the nice autocomplete feature that bash has when you partially type a word then press tab: Right now it can work independently from a shell, but ...
Carcigenicate's user avatar
3 votes
1 answer
129 views

Employee name auto-complete on card scan

Im currently running an employee name substitution on card scan. Overall the code takes the entry trough the gun scan, "scan" trough the hidden reference sheet to find a match and then input ...
Patates Pilées's user avatar
2 votes
0 answers
195 views

Bash wrapper for connmanctl with autocompletion

So the idea came from the fact that connmanctl only completes filenames/directories when used non-interactively, whereas when used interactively (executing ...
Enlico's user avatar
  • 531
6 votes
3 answers
2k views

Implement bash auto completion in Python

I created a script supposed to use python to autocomplete Python commands. The full code is available here, however, I can give you an example. For instance, let's consider: ...
Nadir Ghoul's user avatar
1 vote
1 answer
121 views

Find mobile phone contact according to number typed

I am using the code below trying to replicate the mobile phone feature that displays one or more contact names according to the numbers typed. This code is intended to be used on a JavaScript course ...
Kostas Minaidis's user avatar
2 votes
0 answers
386 views

RxJs observables pipes SwitchMap and async with typealong search input

I'm using RxJs for type along search, I setup an observable to emit a value after 1 second so it behaves like http with delay. I subscribe to it via the async operator in the template, the component ...
doe's user avatar
  • 121
2 votes
1 answer
76 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. ...
andrei-n's user avatar
  • 125
10 votes
2 answers
212 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: ...
Mathieu Guindon's user avatar
2 votes
1 answer
78 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 ...
Don't Know's user avatar
6 votes
2 answers
257 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 ...
Dehnungsmessstreifen's user avatar
4 votes
4 answers
213 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: ...
ealef's user avatar
  • 153

15 30 50 per page