Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Fixes #43271

{
"inside_namespace" => new CodeStyleOption2<AddImportPlacement>(AddImportPlacement.InsideNamespace, notification),
"outside_namespace" => new CodeStyleOption2<AddImportPlacement>(AddImportPlacement.OutsideNamespace, notification),
"outside_namespace_ignoring_aliases" => new CodeStyleOption2<AddImportPlacement>(AddImportPlacement.OutsideNamespaceIgnoringAliases, notification),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentionally using hte word ignoring (as opposed to excluding or except) as i don't want to convey taht aliases must then be required to be inside the namespace. Instead, this is trying to say that aliases are simply ignored and can appear either outside or inside the namespace (for example, roslyn follows this model).

@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski ptal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IDE0065 (Using directives must be placed outside of a namespace declaration) is noisy for alias declarations inside namespace

3 participants