dotnet / dotnet/roslyn

Feature Request: Namespaced autocomplete

Open
#75,342 0 comments 0 reactions 0 assignees View on GitHub
Area-IDE help wanted
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

Right now you either get all types from unimported namespaces, or the immediate children if you type out the namespace.

With "namespaced autocomplete", if we have:
```cs
namespace Foo {
namespace N1 { public class SomeClass1; }
namespace N2 { public class SomeClass2; }
}
namespace Bar {
namespace N3 { public class SomeClass3; }
namespace N4 { public class SomeClass4; }
}
```
then dotting off either namespace would only list types nested in that namespace.
```cs
Foo. // list only SomeClass1, SomeClass2
```
This is still considering unimported namespaces but scoped only to the one that is spelled out.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.