JuliaLang/julia

add help builtins for special characters

Open

#33,666 创建于 2019年10月24日

在 GitHub 查看
 (7 评论) (4 反应) (0 负责人)Julia (5,773 fork)batch import
docsgood first issuehelp wanted

仓库指标

Star
 (48,709 star)
PR 合并指标
 (平均合并 20天 6小时) (30 天内合并 157 个 PR)

描述

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

贡献者指南