JuliaLang/julia

add help builtins for special characters

Open

#33,666 opened on Oct 24, 2019

View on GitHub
 (7 comments) (4 reactions) (0 assignees)Julia (48,709 stars) (5,773 forks)batch import
docsgood first issuehelp wanted

Description

Help currently had a list of keywords that are handled specially: https://github.com/JuliaLang/julia/blob/f8067172557e4967714e92450f27d74dbf959760/stdlib/REPL/src/docview.jl#L524-L529 (from #12438).

It would be good to handle characters which have special meaning:

  • $ for interpolation
  • @ for macro invocation
  • '' for character literals
  • " for string literals
  • [ for array expressions and comprehensions
  • ( for tuples
  • . for broadcasting
  • ``` for commands
  • ; other uses (as mentioned in punctuation.md)

cc: @charleskawczynski

Contributor guide