Skip to content

Fix Jedi completion fuzzy config doesn't work#25487

Open
mossisnotwhy wants to merge 1 commit intospyder-ide:masterfrom
mossisnotwhy:master
Open

Fix Jedi completion fuzzy config doesn't work#25487
mossisnotwhy wants to merge 1 commit intospyder-ide:masterfrom
mossisnotwhy:master

Conversation

@mossisnotwhy
Copy link

@mossisnotwhy mossisnotwhy commented Dec 16, 2025

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)
  1. Modify the config of python-lsp-server in spyder\config\lsp.py. Set the fuzzy config of jedi_completion default True.
  2. Modify the check_can_complete function in spyder\plugins\editor\widgets\completion.py. Allow completion suggestions do not start with current word.
  3. Modify the process_completion method in spyder\plugins\editor\widgets\codeeditor\lsp_mixin.py. Use a new sort key for fuzzy completion suggestions.
fuzzy_completion

Issue(s) Resolved

Fixes #11535

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
mossisnotwhy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fuzzy autocompletion.

1 participant