Plugin Development HowTo
-
I'm building a new plugin for eric6/pymakr. The plugin activates but I can't find a way to see output from print or logging statements. Any tips?
-
Finished the plugin in case anyone is interested in trying it:
-
Nevermind, found it at
~/.config/Pycom/pymakr.ini
and the Log-Viewer window shows the plugin print statements.
-
It looks like
pymakr.ini
should be at~/.pymakr/pymakr.ini
but it's not there. Also, I see the Log-Viewer window in Window -> Windows -> Log-Viewer but getting this error when trying to show that window:QStackedWidget::setCurrentWidget: widget 0x7f8698685a00 not contained in stack
-
@Roberto awesome, thank you!
-
Hello @wakatime
First thing you need to do is switch to expert mode.
- In Pymark go to Settings > Enable expert mode
- Then go to pymakr.ini (location can vary depending on the OS), go to the UI section and add AdvancedBottomSidebar=true
After this, restart you PyMakr and you should ba able to see a new tab called Log-Viewer. Here you should be able to see your plugin output