Skip to content

Refactored for Sublime Text 3 and Python 3 #4

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

petrikoz
Copy link

Hi!

I refactored your cool plugin for support of Sublime Text 3 and Python 3:

  • make your code pretty with PEP 8
  • fix problem with Python's classes scope

Also add some features:

  • custom 'prefix' for trigger completion. Default it stays super, but now you can change this with your Sublime's project settings.
  • use 'short'-style for call 'super()' as default. 'Short'-style is Python 3 style: super().func(*args, **kwargs)
  • support 'classmethod' and 'staticmethod'

Your plugin is simple and good works!
I hope my changes will help your plugin get more new users.

* fix code for PEP8
* fix Python's class scope
* add support of custom completion trigger
* add support of short style 'super'
* add support of classmethod and staticmethod
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.

1 participant