ipython / ipython/ipykernel

More introspection of code submitted to complete_request

オープン
#154 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

The kernel [API function for completion requests (`complete_request`)](http://jupyter-client.readthedocs.io/en/latest/messaging.html#completion) does not specify the level of completeness (no pun intended) a client can expect for a certain input. For example, consider the following code:

``` python
from ipywidgets import HTML
from IPython.display import display
h = HTML("

Hello!
")
h.
display(h)
```

Suppose I hit **** at the end of the fourth line, the API response will not contain any completion matches. But the kernel does actually have enough information to import and load `HTML` and make its instance methods and attributes available. This is how many IDEs work.

I'd like to request this level of completion be added. It would be a non-breaking update with no API ramifications, and it wouldn't necessarily be an imposition on other kernel authors (though it may encourage them to update their kernels, too).

cc: @ellisonbg @fperez @Carreau

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。