Hi,
I had a question about getting IntelliSense working for a defined object.
abstract type Shape end
struct Square <: Shape
s::Float64
end
struct Rectangle <: Shape
b::Float64
w::Float64
end
struct Box{T<:Shape}
shape::T
length::Float64
end
shape = Square(5)
box = Box{Square}(shape, 6)
box.shape.
When I type box.
I get the following IntelliSense:
However, I do not get this when I do box.shape.
. Is there any way to get IntelliSense here or does it have to be a concrete type in the definition of the Box struct definition?