Skip to content

Rework Extension Usage #13

@Dirk-Peters

Description

@Dirk-Peters

Problem: Some IDEs like Rider are now showing a lot more extension methods in IntelliSense, even those, that are not imported in the current file. On the one side this makes it much easier to use them on the other side it causes the IDE to potentially overwhelm the developer with the amount of suggestions.
This will only get worse with dotnet 6 and C# 10 with global using directives, where you might not even be able to see which extensions are displayed because of a global or local using.

Suggested Solution: To prevent intellisense pollution there should be a more deliberate choice which methods, especially variants of "return" methods are actually provided as extension Methods and which only as normal static methods, usable with static imports to have more control over when these methods are found by current IDEs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions