I have finally caved and am at least attempting to move my addon’s development into VS Code. I am being dragged into it kicking and screaming. Dependency issues have made it not make sense anymore to do it from built in text editor.
My complaint is that I have fake bpy installed but it still underlines all my IntProperty() definitions, or any bpy.props definition really. I know it has access to bpy though because intellisense is showing bpy stuff. What am I supposed to do to not have 184,342,993,830 VS Code complaints that are 0% helpful?
This is the complaint on every single bpy.props def: “Call expression not allowed in type expression”.
I can get it to go away by adding the comment it wants me to add but it would be utterly insane to add hundreds of comments to my codebase just because of an IDE’s limitation.
And I look at all these tutorials for setting this monstrosity up and none of them actually go into depth on anything whatsoever, they just show you the absolute bare minimum script with no bpy.types or bpy.props or anything.
EDIT: Well this is interesting, it has no complaint about the = version:
SoundSequence.selected_stage_object = PointerProperty(
type=Object,
poll=empty_objects_poll,
name="Selected Empty",
description='You are supposed to link this audio object strip to an "empty" object over in 3D view',
update=CommonUpdaters.sound_source_updater
)
So I guess it’s only upset about the newer : method.
EDIT: I was certain that if I went to VS Code, it would SURELY be able to do codebase-wide searches. That now seems to not be the case.
EDIT: I’m pretty sure this is happening because I’m running a too-old version of Python. Which seems weird because I followed all the tutorial steps, but maybe the tutorial was old?