Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
document tab completion for dictionary keys (#30147)
Browse files Browse the repository at this point in the history
(cherry picked from commit a836064)
bjarthur authored and KristofferC committed Feb 20, 2020
1 parent 5ab97a2 commit 75f5680
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions stdlib/REPL/docs/src/index.md
Original file line number Diff line number Diff line change
@@ -316,6 +316,21 @@ lastindex offset string
The completion of fields for output from functions uses type inference, and it can only suggest
fields if the function is type stable.

Dictionary keys can also be tab completed:

```julia-repl
julia> foo = Dict("qwer1"=>1, "qwer2"=>2, "asdf"=>3)
Dict{String,Int64} with 3 entries:
"qwer2" => 2
"asdf" => 3
"qwer1" => 1
julia> foo["q[TAB]
"qwer1" "qwer2"
julia> foo["qwer
```

## Customizing Colors

The colors used by Julia and the REPL can be customized, as well. To change the

0 comments on commit 75f5680

Please sign in to comment.