Intellisense: Why must add Using statement for same namespace we are in??
Posted: Thu Apr 18, 2019 8:32 pm
I've noticed that if I'm coding in Method or Function in a certain Namespace, that even though I have referenced the Type of the Local var, intellisense doesn't work, but it compiles just fine.
To get Intellisense to work, I have to add a Using statement for this very same namespace that I am already coding in...
Like this:
Code: Select all
Using System.Xml.Serialization
Using System.Collections.Generic
Begin Namespace MyNamespace
Function Start() As Void Strict
Local oMyOb as MyOtherClass // It's in the same namespace MyNamespace
oMyObj := MyOtherClass{}
oMyObj: <-- Should get intellisense here...
To get Intellisense to work, I have to add a Using statement for this very same namespace that I am already coding in...
Code: Select all
Using MyNamespace
Code: Select all
Using System.Xml.Serialization
Using System.Collections.Generic
Using MyNamespace
Begin Namespace MyNamespace
Function Start() As Void Strict
Local oMyOb as MyOtherClass // It's in the sane namespace MyNamespace
oMyObj := MyOtherClass{}
oMyObj: <-- Now intellisense will work here...