carson-katri / geometry-script

A scripting API for Blender's Geometry Nodes
https://carson-katri.github.io/geometry-script/
GNU General Public License v3.0
253 stars 24 forks source link

cannot set autocompletion in neovim #55

Open sakarimov opened 1 month ago

sakarimov commented 1 month ago

this project is awesome thank u @carson-katri ... i want to have a work environment using this project in neovim, but i still fail to get autocompletion, i tried to use mypy, pylsp, pyright all of those still cannot give autocompletion of geometry_script, is there any suggestion?, i ever read about fake-bpy-module, can we integrate geometry_script to this module

carson-katri commented 1 month ago

There's a guide on setting up code completion in the documentation: https://carson-katri.github.io/geometry-script/setup/external-editing.html

You essentially need a way to input a typeshed path to your editor.