You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are not familiar with common packages functionality, you may waste some time searching the function needed for the particular object type.
In OO languages you can simply look for methods in a pop-up list when you type a dot after an object. For now I don’t know how to do similar thing in Atom/Juno - there are pop-ups only for method names, not for the first argument type.
There is methodswith(typeof(x)) function for a complete list of methods with an argument of given type, but it is too long list and should be filtered with a substring, or sorted by occurrence rate (or both sorted and filtered).
Since there is no dot-method syntax in Julia, it can be probably bound to some hotkey after entering a variable name.
The text was updated successfully, but these errors were encountered:
This definitely would be very useful to have, but right now we could only make this work in a very limited number of cases since we basically only have type information for global objects. Once static analysis (with type propagation) is a bit further along this might actually be worthwhile though.
In general, it would be great to have more static type-related info about variables and methods used, because every time I look into some unfamiliar module, I can't say what method is used on what data type, I can't go to method definition, and this leads to poor understanding of what happens.
If you are not familiar with common packages functionality, you may waste some time searching the function needed for the particular object type.
In OO languages you can simply look for methods in a pop-up list when you type a dot after an object. For now I don’t know how to do similar thing in Atom/Juno - there are pop-ups only for method names, not for the first argument type.
There is
methodswith(typeof(x))
function for a complete list of methods with an argument of given type, but it is too long list and should be filtered with a substring, or sorted by occurrence rate (or both sorted and filtered).Since there is no dot-method syntax in Julia, it can be probably bound to some hotkey after entering a variable name.
The text was updated successfully, but these errors were encountered: