0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli/tools/repl
Roy Li 2c7174a5a2
fix(repl): Hide indexable properties in tab completion (#18141)
Closes #17831. This change hides the indices of any indexed collection
when triggering tab completion for object properties in the REPL.

An example is shown in the issue, but for verbosity here is another.

Before the change:
```
> const arr = new Uint8ClampedArray([1, 2, 3])
undefined
> arr.
0                     map
1                     reverse
2                     reduce
...
```
After the change:
```
> const arr = new Uint8ClampedArray([1, 2, 3])
undefined
> arr.
constructor               reduce
BYTES_PER_ELEMENT         reduceRight
buffer                    set
...
```

Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2023-03-16 19:46:50 +00:00
..
cdp.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
channel.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
editor.rs fix(repl): Hide indexable properties in tab completion (#18141) 2023-03-16 19:46:50 +00:00
mod.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
session.rs fix(repl): do not panic deleting Deno or deleting all its properties (#18211) 2023-03-15 21:41:13 -04:00