Muream / maya-stubs

Stubs for Autodesk Maya
MIT License
41 stars 4 forks source link

Split cmds functions into their own stubs #29

Open Muream opened 2 months ago

Muream commented 2 months ago

depends on #28 closes #25

Muream commented 2 months ago

@juggernate If you can, I'd be curious to hear if v0.4.2a works better with PyCharm.

I've tested a bit and it seems to work fine without having to resort to the trick you added to the readme a while ago but I'd like the feedback of some actual PyCharm user before publishing

mdilena commented 3 weeks ago

Hey, in case you need some feedback on this: I tried the split cmds pre-release out of curiosity, and it made things a little slower to pick up in Visual Studio Code. Not sure if that' what you're using as well, but if so have you noticed any of that?

Muream commented 3 weeks ago

Hey, thanks for testing this!

Yeah, I did notice things being slower on vscode (and pyright in neovim) but on the other hand I've had crashes of Pylance on vscode that I think are due to the huge size of the stubs without splitting them

I'll have to see if there's a middle ground that can be found like simply stripping the docstrings or something like that (the docstrings are maybe 90% of the file)