SublimeJEDI
SublimeJEDI copied to clipboard
Autocompletion of parameters of Class instance
My config : Sublime Text 2 + SublimeJEDI + Django 1.6
I've just started using SublimeJEDI with ST2 after finding PyCharm to be very heavy & slow. While declaring database models in Django, when I type the field names, the code completion suggests the name correctly. But when it comes to arguments for the constructor, it doesn't suggest the appropriate entries mentioned here : https://docs.djangoproject.com/en/dev/ref/models/fields/
I've shown an example where I want to declare name = models.CharField(unique=True)
. As I start typing uni...
, I expect it to show the argument unique
, but instead it shows some other classes that start with uni..
Looks like Jedi searches parameters only for actual class and does not fetches arguments from the class parents, when *args
and **kwargs
provided. I shall work with this question
Great. Thank you for the support.