perl-Complete-Util - General completion routine

Edit Package perl-Complete-Util

This package provides some generic completion routines that follow the Complete convention. (If you are looking for bash/shell tab completion routines, take a look at the See Also section.) The main routine is 'complete_array_elem' which tries to complete a word using choices from elements of supplied array. For example:

complete_array_elem(word => "a", array => ["apple", "apricot", "banana"]);

The routine will first try a simple substring prefix matching. If that fails, will try some other methods like word-mode, character-mode, or fuzzy matching. These methods can be disabled using settings.

There are other utility routines e.g. for converting completion answer structure from hash to array/array to hash, combine or modify answer, etc. These routines are usually used by the other more specific or higher-level completion modules.

Refresh
Refresh
Source Files
Filename Size Changed
Complete-Util-0.617.tar.gz 0000034476 33.7 KB
cpanspec.yml 0000000923 923 Bytes
perl-Complete-Util.changes 0000001910 1.87 KB
perl-Complete-Util.spec 0000002651 2.59 KB
Revision 4 (latest revision is 7)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1072068 from Tina Müller's avatar Tina Müller (tinita) (revision 4)
- updated to 0.617
   see /usr/share/doc/packages/perl-Complete-Util/Changes
  0.617   2023-01-19  Released-By: PERLANCAR; Urgency: low
          - [test] Avoid perl warning about comma in qw(), in test script.
  0.616   2023-01-19  Released-By: PERLANCAR; Urgency: medium
          - [bugfix][func complete_comma_sep_pair] When completing value, we
            didn't add prefix.
  0.615   2023-01-17  Released-By: PERLANCAR; Urgency: medium
          - Check for known arguments.
          - New function: complete_comma_sep_pair().
Comments 0
openSUSE Build Service is sponsored by