I won’t deny that I think you’re genuinely trying to be helpful and I appreciate that, but I personally don’t believe that means the same can be said for everyone else who has contributed towards this thread. I’ve been on the internet long enough to know that no question goes unpunished.
There is a reason that the ArchLinux community is openly (and if only half-jokingly) mocked. ArchLinux, btw. Neovim, btw. But you can find these kinds of people all over.
Anyway, on to the actual point of discussion, yes!
That is what I was looking for. I suppose my mistake was that if you try typing the variable declaration under ready, i.e.:
At face value, this seems like unexpected behavior. If you think deeply about it, it makes some amount of sense - the variable is pointing to either a Script, a RefCounted, or a Resource (the godot docs, the editor, and users on this thread seem to conflict on what exactly it is pointing towards), and none of those things are a MyCustomType, but at the same time… it is literally the class definition for a MyCustomType. Is it logical that when I type the reference to MyCustomType as a MyCustomType, I get an error? The only reason being because it’s not an instance? It might not be an instance, but IT IS a MyCustomType. I’m not so sure that makes sense.
I did mistakenly say that Java supports this… I went back and messed around in Eclipse because it’s been a few years and realized this was false. But it is supported in RustEdit: It is not supported in rust, but may be in Zig and Go? Which I only mention to point out that despite what some have said here, I apparently am not the only one who thinks this makes some amount of sense.
I didn’t expect that the editor would provide auto-complete suggestions if I didn’t type it because frankly, it almost never does. I usually have to cast my variables or use the ‘as’ keyword if I’m unable to type.
Anyway, I appreciate your exercising empathy and trying to understand what I was trying to communicate. Some people seem to read my words, reference their internal library for the most literal possible meaning of that word, and then use that to completely misconstrue what I’m saying, even when it flies in the face of the actual evidence (i.e. the images that I posted).
Communication is hard, but it doesn’t help when people put literally no effort into it.