Open Rhahi opened 1 year ago
Which version of Julia are you using? Also try the two-argument version of methodswith
like methodswith(KRPC.Interface.SpaceCenter.RemoteTypes.Part, KRPC.Interface.SpaceCenter.Helpers)
Thank you, the two method version works! This is good enough for me. Feel free to close the issue if there will be no action.
I am using version 1.9.0 (2023-05-07) at the moment. I just downloaded and tested 1.8.5, but it's also same there.
(@v1.8) pkg> add https://github.com/RhahiSpace/KRPC.jl#develop
# using the current PR version
julia> using KRPC
julia> methodswith(KRPC.Interface.SpaceCenter.RemoteTypes.Part)
# displays nothing
Ahh, wait. I need to generate stubs first. Disregard the "there is nothing in 1.8" comment for now
I was not able to save the generated stubs, due to permission error. Maybe juliaup
doesn't like to have these packages alongside each other? I tried without save_file=true, and methodswith
did not show any result here either.
I had to dev
the package and I generated the stub, restarted Julia, and used methodswith. It gave me an empty result as well.
I don't know when this started, but I no longer can use
methodswith
to look for functions that use remote types.