Port tab-completion mostly to projects

This commit is contained in:
Chris Penner 2024-06-26 11:55:35 -07:00
parent c419cd088d
commit bb41e55e07
2 changed files with 22 additions and 4 deletions

View File

@ -36,8 +36,16 @@ scratch/main> debug.tab-complete view subnamespace2
-- Should prefix-filter by query suffix
scratch/main> debug.tab-complete view subnamespace.some
scratch/main> debug.tab-complete view subnamespace.someOther
```
```unison:hide
absolute.term = "absolute"
```
```ucm
.> add
-- Should tab complete absolute names
scratch/main othernamespace> debug.tab-complete view .subnamespace.some
.> debug.tab-complete view .absolute.te
```
## Tab complete namespaces

View File

@ -88,12 +88,22 @@ scratch/main> debug.tab-complete view subnamespace.someOther
* subnamespace.someOtherName
-- Should tab complete absolute names
☝️ The namespace .othernamespace is empty.
```
```unison
absolute.term = "absolute"
```
.othernamespace> debug.tab-complete view .subnamespace.some
```ucm
.> add
⍟ I've added these definitions:
absolute.term : ##Text
-- Should tab complete absolute names
.> debug.tab-complete view .absolute.te
* .absolute.term
```
## Tab complete namespaces