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
This RFC proposes adding support for filtering the side menu according to a package's REPL alias.
Currently, a user can filter according to the nested package tree in the main project. However, it would be nice if a user could also filter according to REPL alias.
This is a little tricky to do because the side menu filter currently supports regular expression filters which may include the use of a . to indicate any character, not a literal period.
Hence, could be hard to disambiguate whether a user wants to search based on a REPL alias or a regular expression using the special . character.
Limiting filtering by REPL alias to only when the REPL API docs mode is active does not fully address the ambiguity. While it would provide a strong indication that a user wants to filter by alias, we would not be able to readily distinguish between
base.si
and
base..in
where, in the former, we want to use the . as a delimiter and, in the latter, to represent any character.
Description
This RFC proposes adding support for filtering the side menu according to a package's REPL alias.
Currently, a user can filter according to the nested package tree in the main project. However, it would be nice if a user could also filter according to REPL alias.
For example, the query
would resolve the package
in the side menu.
Similarly, the query
would resolve the packages
in the side menu.
Related Issues
No.
Questions
No.
Other
No.
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: