Skip to content

Commit

Permalink
document tab completion for dictionary keys (#30147)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur authored and StefanKarpinski committed Nov 26, 2018
1 parent ce82406 commit a836064
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
Expand Up @@ -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
Expand Down

0 comments on commit a836064

Please sign in to comment.