dotnet/roslyn

Feature Request: Namespaced autocomplete

開放

#75,342 建立於 2024年10月2日

 (0 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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:

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.

Foo. // list only SomeClass1, SomeClass2

This is still considering unimported namespaces but scoped only to the one that is spelled out.

貢獻者指南