nushell/crates
Jason Gedge 9f85b10fcb
Add method to convert ClassifiedBlock into completion locations. (#2316)
The completion engine maps completion locations to spans on a line, which
indicate whther to complete a command name, flag name, argument, and so on.

Initial implementation is simplistic, with some rough edges, since it relies
heavily on the parser's interpretation. For example

    du -

if asking for completions, `-` is considered a positional argument by the
parser, but the user is likely looking for a flag. These scenarios will be
addressed in a series of progressive enhancements to the engine.
2020-08-21 15:37:51 -04:00
..
nu_plugin_binaryview Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_fetch Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_from_bson Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_from_sqlite Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_inc Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_match Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_post Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_ps Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_s3 Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_start Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_sys Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_textview Move nu-data out of nu-cli (#2369) 2020-08-18 19:00:02 +12:00
nu_plugin_to_bson Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_to_sqlite Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu_plugin_tree Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu-cli Add method to convert ClassifiedBlock into completion locations. (#2316) 2020-08-21 15:37:51 -04:00
nu-data Add text_color and line_color for table theming (#2378) 2020-08-20 11:03:56 -05:00
nu-errors Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu-parser Add method to convert ClassifiedBlock into completion locations. (#2316) 2020-08-21 15:37:51 -04:00
nu-plugin Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu-protocol Sleep command (#2381) 2020-08-22 05:51:29 +12:00
nu-source Add method to convert ClassifiedBlock into completion locations. (#2316) 2020-08-21 15:37:51 -04:00
nu-table Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu-test-support Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00
nu-value-ext Bump to 0.18.2. Move starship external. (#2345) 2020-08-14 07:02:45 +12:00