Replies: 2 comments 1 reply
-
|
I like the idea. Let's do it? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Jupyter notebook's predecessor, ipython, has a Qt client. We can copy it. We should use Qt for GUI. I do not want JavaScript before we have exhausted all desktop/native options. A notebook-like interactive interface is good, but I also want a simple, terminal-like interactive environment is available. Let's work out something and we discuss as we go. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
Current PythonConsole has only basic functionality to type text and executing it.
Suggestion:
Add more features to make its usage more convenient, the features I suggest to implement are:
Syntax highlighting - Qt provides
QSyntaxHighlighterto make implementation of syntax highlighting easier, we could use it.Suggestion popup box - When user starts typing a popup should appear with suggestion. This popup should have items that are variable names, function names and class names which name contains or starts with the word the user just typed. Items can be parsed from the user's code and be provided from the pilot (like some global objects).
jupyter notebook-like output - Qt's TextEdit supports HTML tags for hyperlinks, images, tables. Using this functionality, the historyEdit could output not only text, but jupyter notebook-like output.
For now those are all the features I can think of for the PythonConsole. I think it's reasonable to implement this features one by one and in the suggested order. As result, pilot's code editor would become a convenient editor
Beta Was this translation helpful? Give feedback.
All reactions