Why isnt it possible to declare a varable type for the intellisense
like done in php sdk for eclipse
object = Test()
Mostly because it's not implemented (although in that specific case, it should already know the time of the variable). Currently it's able to analyze an assert isinstance(obj, Class) and use that information for that to achieve a similar result.
You can create a feature request for that if you want.