Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

editor widget and modular toolbars ; closes #24 #45 #51

wyzula_j requested to merge code-editor-refactor into master

General

Editor Widget

  • simple IDE widget with capability to run code directly and see output in QTextEdit
  • jedi autocompletition
  • signature inspection
  • docstring inspection (only numpy style supported ATM)
  • first widget to support custom dark/light theme across OS
  • Rich Jupyter console widget for output (set to false by default to not break tests)

Modular Toolbar tool

  • simple adding toolbar with QActions and Icons to widgets
  • can be used also for other widgets such as BECMonitor etc.
  • can be initialised both automatically with supported widgets (BECEditor ATM) and manually to any widget

Drawbacks

  • QScintilla is not supported by PySide2/PySide6 !!! → I dropped support for PySide until I find an alternative
  • doctstring tooltip is a bit buggy, there is parameter to disable it. #49 (closed)

Future plans

  • migrate from jedi to Python LSP Server → should be easier to enable extra features such as pyflake, autopep8, rope etc. #50 (closed)
  • decide what we want to have on tooltip + adding support for compact docstrings with different styles than numpy
  • enable IPython/Jupyter console instead of just QLineEdit closes #51 (closed)
  • multiple editor themes, theme switcher, load themes from .json #52 (closed)
  • make toolbar for BECMonitor #53 (closed)
  • adapt all widgets to pyqtdarktheme #44 (closed)
Edited by wyzula_j

Merge request reports

Loading