xonsh/xontrib
Noorhteen Raja NJ e76115676b
improve completers (#4648)
* fix: pip -r appends spaces at the end

modularize completing output from subproc-out

* docs:

* fix: flake8

* fix: failing pip comp tests

* refactor: naming xonsh conflicts with actual package

the IDE completions don't work.
we add this naming convention instead.

* feat: option to filter after completion returned

this will help reduce some boilerplate, and we can enrich the filtering
behaviour

* feat: add gh completions

* fix: filtering out completions

* refactor: simplify invoking completer interface

* test: add fixture for xsh with os-env

* test: add tests for gh-completions

* fix: flake error

* fix: mypy errors and update gh completer tests

* fix: handle cross-platform line endings

* feat: include man,bash completer only if available

* todo: improve man page completions

* fix: failing man page tests

* fix: py 3.7 compatibility

* fix: qa error

* fix: stop dir completions

* feat: improve man page completions

now shows descriptions, recognizes more number of options correctly

* fix: update man page completions

* feat: support filtering based on display as well

* Update xonsh/completer.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* style:

* test: xfail ptk-shell tests on windows

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2022-01-27 21:22:36 +05:30
..
abbrevs.py chore: type check xontribs,xompletions (#4642) 2022-01-18 09:54:31 -05:00
autovox.py chore: type check xontribs,xompletions (#4642) 2022-01-18 09:54:31 -05:00
bashisms.py pre-commit hook for pyupgrade (#4583) 2021-12-06 14:42:26 -05:00
coreutils.py Add uname command, Update uptime comand (#3909) 2022-01-08 18:28:46 +05:30
distributed.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
fish_completer.py improve completers (#4648) 2022-01-27 21:22:36 +05:30
free_cwd.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
jedi.py pre-commit hook for pyupgrade (#4583) 2021-12-06 14:42:26 -05:00
mpl.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
mplhooks.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
pdb.py Add xontrib-pdb. Runs pdb on SIGUSR1. 2020-06-05 13:35:53 +02:00
prompt_ret_code.py pre-commit hook for pyupgrade (#4583) 2021-12-06 14:42:26 -05:00
README interim add 2016-05-11 00:42:36 -04:00
vox.py chore: type check xontribs,xompletions (#4642) 2022-01-18 09:54:31 -05:00
voxapi.py refactor: break multi-line question (#4621) 2022-01-15 14:44:46 +05:30
whole_word_jumping.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
xog.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00

xontrib is an implicit namespace package. DO NOT add an __init__.py file
to this directory.

Feel free to add both *.xsh and *.py files to the directory, they will be
installed and available.