Python editor: Add buttons & actions for opening REPL

Opens interactive Python, optionally with the current file imported, for
testing and experimentation.

Change-Id: Ieb120e3698bdba77a1445c40fe7fda533773a0cf
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Eike Ziller
2020-03-10 16:26:20 +01:00
parent be9d5fa0d9
commit 3b5fc296f2
6 changed files with 135 additions and 2 deletions

View File

@@ -37,6 +37,10 @@ const char C_EDITOR_DISPLAY_NAME[] =
const char C_PYTHONOPTIONS_PAGE_ID[] = "PythonEditor.OptionsPage";
const char C_PYTHON_SETTINGS_CATEGORY[] = "P.Python";
const char PYTHON_OPEN_REPL[] = "Python.OpenRepl";
const char PYTHON_OPEN_REPL_IMPORT[] = "Python.OpenReplImport";
const char PYTHON_OPEN_REPL_IMPORT_TOPLEVEL[] = "Python.OpenReplImportToplevel";
/*******************************************************************************
* MIME type
******************************************************************************/