-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow for hiding individual aliases #1859
Comments
An IdentifierSymbol.AddHiddenAlias(string) method would be discoverable enough for this. No need to complicate the constructors. Should the hidden aliases be entirely hidden from completions, typo corrections, and help; or should they be available from completions if the user has already typed part of the hidden alias and there is no other completion? I think I'd prefer hiding them entirely. The implementation might then have
but not in:
|
Agreed. So far, |
Yes I would expect them to be hidden everywhere. |
Yes given #133 and the seemingly lack of support for considering any case insensitivity say --Start vs --start we add aliases but this clutters up help and tab completion significantly. If we can hide those options that would be great. |
As dotnet/runtime#68578 is labelled "api-approved", it seems the API is about to be frozen. If hiding individual aliases is not supported in 2.0 GA, can it be implemented later? It will no longer be possible to remove |
My current process for renaming aliases looks like the following:
IsHidden=true
Alternatively, I could always modify the help build to hide to aliases that I don't want displayed. However, at present, this would require more code, than the above solution.
What I would like is the ability to mark individual aliases as hidden so that I only have a single symbol to manage.
The text was updated successfully, but these errors were encountered: