Skip to content
A python script that can grab the Krita source code and generate auto-complete files
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
output add a python file with what is generated Jul 7, 2018

Krita: Python Auto-complete generator

Iif you have the Krita source code, you can use this to generate the auto-complete file for Python.Many Python editors need a PY file to read for auto complete information. This script reads the C++ header files and creates a python file that can be used for auto-completion. the file is generated in the same location as the header files are. The final file is independent, so it doesn't matter where it ends up being stored. Pointing your Python editor to the file location for a module path should be enough for the auto-complete to pick up.

The Python file has a lot of notes, so make sure to check that out to see exactly what is going on.

If you look in the Output folder, you can see what the final generated file looks like. This is what you would use in your Python editor.

Grab the Krita source code from here as a pre-requisite

You can’t perform that action at this time.