功能提供[tab]键乳胶功能
在Julia repl中,如果我想键入α
字符,我要做的是: \ alpha [tab]
返回希腊字母,我想要什么做/知道是否有一种方法可以通过以下功能模仿此行为:
tab_function(raw"\alpha") # output => 'α'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在。
对于您的情况,我认为最简单的是使用
repl.replcompletions.latex_symbols
dictionary :(但是,如果您需要更奇特的东西,请检查我已链接的文件)
You can check the whole implementation of REPL completions in https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/REPLCompletions.jl.
For your case I think that the easiest is to use
REPL.REPLCompletions.latex_symbols
dictionary:(but if you need something more fancy then check the file I have linked above)