JuliaLang/julia

add help builtins for special characters

Open

#33,666 opened on 2019年10月24日

GitHub で見る
 (7 comments) (4 reactions) (0 assignees)Julia (5,773 forks)batch import
docsgood first issuehelp wanted

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (平均マージ 20d 6h) (30d で 157 merged PRs)

説明

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

コントリビューターガイド