srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

left parentheses does not work #302

Open ausiddiqui opened 5 years ago

ausiddiqui commented 5 years ago

Please consider changing this as the default keybinding, see: https://github.com/srusskih/SublimeJEDI/blob/abd7da4e3a38cf49810707f0b03ab8eb3bdf855e/Default.sublime-keymap#L12. I enjoy using your package, but every time it goes through an upgrade this must be looked up and changed.

An alternative default key binding is suggested in Sublime Anaconda package which has also been caught up in this issue. (See: https://github.com/DamnWidget/anaconda/issues/613#issuecomment-331253673)

srusskih commented 5 years ago

that's interesting :) I thinks, this is because of conflict of two plugins

Anaconda listen to modifications in editor https://github.com/DamnWidget/anaconda/blob/f93ef3096ee4838660dc93ca431243e22aa38a9f/listeners/completion.py#L63

Sublime Jedi - bind keys, to allow user to rebind keys on it own.

Do you use Anaconda? What for?

ausiddiqui commented 5 years ago

I use Anaconda for a number of the tooltips, and IDE features it brings Sublime.

AruniRC commented 4 years ago

I would just bump up this issue about the left parenthesis in the default keymaps: "command": "sublime_jedi_params_autocomplete", "keys": ["("].

This crops up for folks that have both Anaconda and Jedi installed, and it would be really helpful to just have the default keymap set to something (anything!) else. It is just distracting to have to change the default each time there is a re-install or upgrade.

Links showing the issues:

  1. https://forum.sublimetext.com/t/parenthesis-not-working/25866/4
  2. https://github.com/DamnWidget/anaconda/issues/613 (also mentioned above)