Skip to content

A python script that can grab the Krita source code and generate auto-complete files

Notifications You must be signed in to change notification settings

scottpetrovic/krita-python-auto-complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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 https://github.com/KDE/krita

About

A python script that can grab the Krita source code and generate auto-complete files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages