You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many cases, the completion list is missing reexports from dependencies, which reduces the usability of libraries such as fixed_point.
REPRO
MyProj/src/Main.qs
namespace Test {
open MyDep;
operation Foo() : Unit {
ExportedItem; // Appears, but with auto-import edit ❌
ReexportAlias; // Does not appear ❌
ReexportedItem; // Appears, but with auto-import ❌// Also, doesn't compile (#1955) ❌
}
}
namespace Test2 {
open SomeNS; // Does not appear ❌
}
namespace Test3 {
open MyDep.C.ReexportedNS; // `B` does not appear after `.` ❌
}
namespace Test4 {
open ParentNS; // Does not appear ❌
}
To capture some historical context -- there was an attempt to cover these cases in the original Completions implementation, but it required quite a few changes to the resolver. Currently, neither the HIR nor the resolver contains enough information about the reexports for the Completions module to include the reexports.
At the time I made some changes to the resolver to address some of the cases from above, but hit blockers on others. So that effort's been abandoned for a few months now.
The text was updated successfully, but these errors were encountered:
In many cases, the completion list is missing reexports from dependencies, which reduces the usability of libraries such as
fixed_point
.REPRO
MyProj/src/Main.qs
MyProj/qsharp.json
MyDep/src/Main.qs
MyDep/qsharp.json
Seen in 3b32013
Additional context
Related: #1955
To capture some historical context -- there was an attempt to cover these cases in the original Completions implementation, but it required quite a few changes to the resolver. Currently, neither the HIR nor the resolver contains enough information about the reexports for the Completions module to include the reexports.
At the time I made some changes to the resolver to address some of the cases from above, but hit blockers on others. So that effort's been abandoned for a few months now.
The text was updated successfully, but these errors were encountered: