-
Notifications
You must be signed in to change notification settings - Fork 134
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
Exclude conflicting type names from import completion #1473
Conversation
Also excludes System.Diagnostics.Debug Fixes #574
Ignoring I would really like to see this generalized to allow the user to add a new import completion ignore list. |
This is already a generalised mechanism. This PR will add default entries into the Preferences | Editor | General | Auto Import settings page. You're free to add your own. |
Other candidates for exclusion:
Comments? |
Merged as-is. We'll review |
See also RIDER-33445 |
Thank you so much for this! |
Adds
Boo.Lang.*
andUnityScript.*
as namespaces to be excluded from auto-import. Also addsSystem.Diagnostics.Debug
as a method to be ignored. This means that these namespaces and types are not shown in import completion popup lists, the auto-import tooltip popup, and any other quick fix. The only way to use these types is to manually add the using statement.This addresses the issue that trying to complete
List<T>
can matchBoo.Lang.List<T>
.This PR also adds an internal action to Rider that will dump all duplicate type names in a given project. Useful to show candidates that could use further rules.
Fixes #574