Skip to content

This allows autocomplete for writing GIMP 3 plugins in external editors without access to introspection

License

Notifications You must be signed in to change notification settings

UserUnknownFactor/gimpfu3_stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIMP 2.99.13 typeshed

GIMP 2.99.13 gimpfu typeshed stubs for GIMP's GObject Introspection modules. Useful for auto-completion for default modules in external editors like VSCode.

The gi folder should be copied to c:\Program Files\GIMP2.99\lib\python3.10\site-packages\
VSCode will see the modules with this setting in preferences:

    "python.analysis.extraPaths": [
        "c:\\Program Files\\GIMP2.99\\lib\\python3.10\\",
        "c:\\Program Files\\GIMP2.99\\lib\\python3.10\\site-packages\\"
    ],

Where c:\Program Files\GIMP2.99 is GIMP installation location.

This was made using mypy's stubgen tool over modules generated by extract_modules.py tool. This version doesn't just slap *args, **kwargs on everything but tries to properly restore function signatures where possible.

About

This allows autocomplete for writing GIMP 3 plugins in external editors without access to introspection

Topics

Resources

License

Stars

Watchers

Forks

Languages