In the QGIS Python console there is code completion available since a while (see here). However it seems to be quite limited as to its range, according to the doc the following libs are supported:
Code completion, highlighting syntax and calltips for the following APIs: - Python - PyQGIS - PyQt5 - QScintilla2 - osgeo-gdal-ogr
Obviously this makes coding directly within QGIS cumbersome, especially if one is used to the comfort-level of modern IDEs. I configured pyCharm to reflect the QGIS environment, so that it knows how to autocomplete on qgis.core and so on, but copying and pasting code from a secondary IDE is circumstancial.
Is there a way to have auto-completion on imported libs (e.g.
math) directly within the QGIS console/editor?
I can confirm that I get auto-completion suggestions only for basic python and the abovementioned libs.
For (even very basic) imported libs (e.g.
os) this doesn't work: