Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable "snippets" expansion in Jedi LSP #21194

Merged
merged 1 commit into from
May 9, 2023

Commits on May 7, 2023

  1. Disable "snippets" expansion in Jedi LSP

    This brings the Jedi based completion experience in line with that
    provided by Pylance. Completions now insert only the current symbol
    rather than assuming that the user wants to e.g: call that symbol.
    
    This means for example that completing `max` will insert just `max`
    rather `max(arg1, arg2)`. While for this case this may be seen as
    less useful, it means that insertions in places where a call is
    not desired (such as imports and typing contexts) will not be forced
    to manually remove the parentheses and template arguments which
    might otherwise be inserted.
    
    Users can still use the signature support UI to explore signatures
    and of course insertion of an opening parenthesis will still insert
    a closing one.
    
    Hopefully this new configuration will be preferable to a majority
    of users.
    
    Fixes microsoft#15858
    PeterJCLaw committed May 7, 2023
    Configuration menu
    Copy the full SHA
    561365f View commit details
    Browse the repository at this point in the history