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
When working with a large codebase with many different types, types often need to be aliased or partially/fully qualified to distinguish it from a different type of the same name.
For example,
use geo::Point;use a::b::generated::Point;let x:Point;// Eh? Which one?
User flows
This issue proposes the following flow:
Replace use with qualified path
For qualifying a useed type, one would:
Right-click a used type.
Click "Replace use with qualified path".
Observe that all imports are fully qualified.
The text was updated successfully, but these errors were encountered:
When working with a large codebase with many different types, types often need to be aliased or partially/fully qualified to distinguish it from a different type of the same name.
For example,
User flows
This issue proposes the following flow:
Replace use with qualified path
For qualifying a
use
ed type, one would:use
d type.The text was updated successfully, but these errors were encountered: