xonsh/news
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
..
alises-completer.rst Ap/aliases completer (#4486) 2021-11-23 12:34:12 -05:00
ap-long-opts.rst feat: option to show only longest/descriptive arg-completions (#4483) 2021-11-29 10:56:20 -05:00
cmd-completion-desc.rst feat: update command completions to show description as well (#4488) 2021-12-07 10:33:41 -05:00
completer-cmd.rst feat: add sub-command to print current completions (#4586) 2021-12-12 08:47:47 +05:30
completions-improve.rst improve completers (#4648) 2022-01-27 21:22:36 +05:30
env-vars.rst feat: add env variable for sys level config dir 2022-01-11 11:24:54 -05:00
feat-add-alias-decorator.rst Feat: add Aliases.register (#4547) 2022-01-21 16:30:23 +05:30
feat-shlvl.rst feat: implement $SHLVL mirroring bash's implementation (#4651) 2022-01-24 07:24:28 +05:30
feat-xompletions.rst Xompletions (#4521) 2022-01-10 11:21:22 -05:00
fish-completer.rst add fish shell based completer (#4569) 2021-11-29 21:02:32 +05:30
fix-__file__-attribute.rst fix #4637 (#4639) 2022-01-13 09:33:41 -05:00
fix-conda-env-system.rst Fix: support Conda environments when running on non-conda interpreter (#4532) 2021-12-10 10:18:16 +05:30
fix-dict-unpacking-into-dict.rst Fix unpacking of dictionaries inside a dictionary (#4624) 2022-01-07 04:51:06 +05:30
fix-empty-modules.rst fix #4638 (#4640) 2022-01-14 08:57:08 -05:00
fix-list-comp-boolop.rst ast: do not descend into any comprehensions (#4622) 2022-01-05 09:35:50 -05:00
fix-ptk-osc-in-prompt.rst fix: remove custom handling of osc tokens for ptk prompt (#4629) 2022-01-07 17:34:52 -05:00
fix-windows-oserror.rst Fix OSError on Windows with GnuWin32 (#4599) 2021-12-16 16:09:52 -05:00
fix-xonshrc-dir-welcome.rst Fix: don't display welcome if $XONSHRC_DIR member is found (#4531) 2021-11-18 12:42:29 -05:00
fix_env_None.rst Fix: detype None env-vars to '' to fix #4600 (#4649) 2022-01-21 14:46:50 +05:30
fixe_uptime.rst Add uname command, Update uptime comand (#3909) 2022-01-08 18:28:46 +05:30
foreign-funcs-completions.rst feat: auto-completion support for source-foreign (#4564) 2021-11-27 16:28:04 +05:30
history-transfer.rst history transfer (#4604) 2021-12-20 08:36:29 +05:30
loading-coreutils.rst refactor: do not override sys coreutils (#4617) 2022-01-05 09:44:53 -05:00
nep-0029.rst adopt NEP-0029 (#4568) 2021-11-29 12:48:48 -05:00
refactor-lexer-parser.rst Refactor: reduce API surface of lexer (#4535) 2022-01-17 16:53:14 +05:30
refactor-session-loading.rst Refactor: make session loading explicit (#4540) 2021-12-21 13:07:53 +05:30
remove-ptk2.rst refactor: remove xonsh.ptk2 module (#4570) 2021-11-30 08:22:31 -05:00
simplify-foreign-functions.rst Simplify foreign functions (#4393) 2021-11-23 17:01:42 -05:00
sublime-xonsh.rst Add Sublime Text 4 extension to the Editors page (#4552) 2021-11-23 04:06:48 +05:30
TEMPLATE.rst single instance of string.Formatter 2018-10-20 12:22:59 -06:00
vc-current-branch.rst fix: prompt getting git branch (#4607) 2021-12-21 17:28:02 +05:30
vox-improvements.rst Vox improvements (#4549) 2021-11-26 23:37:35 +05:30
vox-upgrade.rst feat: add upgrade command 2021-12-23 06:32:47 +05:30
webconfig.rst fix: xonfig web is not upto-date (#4606) 2022-01-18 11:11:16 -05:00
xontrib-default-command.rst New xontribs (#4544) 2021-11-23 04:09:21 +05:30
xontrib-up.rst New xontribs (#4544) 2021-11-23 04:09:21 +05:30