srusskih / SublimeJEDI

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

Does not behave when console input widget has Python syntax highlighting #238

Open FichteFoll opened 6 years ago

FichteFoll commented 6 years ago

Enable Python syntax highlighting for the console input widget (I think this requires a dev build):

User/Console Input Widget.sublime-settings

{
    "syntax": "Packages/Python/Python.sublime-syntax"
}

When typing ( in the console, any selection in the most recently active view is removed.

Jedi should:

  1. Not use sublime.active_window().active_view() or any variant and instead work with the view object provided by the callback.
  2. Probably check whether that view's is_widget setting is True.