Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@Shougo
Copy link

@Shougo Shougo commented Mar 16, 2019

Fix #515

@palantirtech
Copy link
Member

Thanks for your interest in palantir/python-language-server, @Shougo! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@Shougo
Copy link
Author

Shougo commented Mar 16, 2019

Please test it.

@hujianxin
Copy link

Tested it, works fine

@fominok
Copy link

fominok commented Mar 20, 2019

Really looking forward to this merge

@Shougo
Copy link
Author

Shougo commented Mar 21, 2019

I have fixed unit tests.

@lambdacn
Copy link

ping @palantirtech

@lambdacn
Copy link

I think this pr should be merged.

@fominok
Copy link

fominok commented Mar 23, 2019

ping @gatesn

@gatesn
Copy link
Contributor

gatesn commented Mar 27, 2019

Apologies, I've been out on vacation. For expediency, I've made a few changes to this PR here: #529. Namely, the jedi setting for enabling snippets doesn't override what client capabilities say; and snippets are only generated for positional arguments.

@gatesn gatesn closed this Mar 27, 2019
gatesn added a commit that referenced this pull request Mar 27, 2019
Fixes #515 
Fixes #526 

Also only generates snippets for positional args
@Shougo
Copy link
Author

Shougo commented Mar 28, 2019

OK.

@Shougo Shougo deleted the snippet_support branch March 28, 2019 01:01
joaotavora added a commit to joaotavora/python-language-server that referenced this pull request Oct 11, 2019
This is the way python-language-server used to work before palantir#519.  This
shouldn't conflict with the goals of palantir#515 of palantir#526, i.e. if the client
does _not_ declare support for snippets, none are sent.

* pyls/plugins/jedi_completion.py (pyls_completions): Default
should_include_params to True, like before.
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.

6 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.