Attachment: QQ截图未命名.jpg Description: JPEG image
今天突然看到新浪微博如果输入#,它会自动根据你的输入提示你想说什么话题,由此想到,openresty能否也整一个在线编辑lua脚本,然后遇到输入ngx.,下面自动提示ngx的函数?谁研究一下?我看了一下,没看明白新浪是如何实现,如果有人能剥离出来新浪的_javascript_脚本,我也可以照着实现一个openresty的函数提示。 -- 邮件自: 列表“openresty”,专用于技术讨论! 发言: 请发邮件到 openresty@googlegroups.com 退订: 请发邮件至 openresty+unsubscribe@googlegroups.com 详情: http://groups.google.com/group/openresty 官网: http://openresty.org/ 仓库: https://github.com/agentzh/ngx_openresty 建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp
函数好办,我是说比如在线输入ngx.read,然后就可以跳出全部以ngx.read开头的函数的提示和用法。
On Sat, Mar 10, 2012 at 8:13 PM, lhmwzy <lh...@gmail.com> wrote: 函数好办,我是说比如在线输入ngx.read,然后就可以跳出全部以ngx.read开头的函数的提示和用法。这种智能 API 下拉提示 & 自动完成功能,如果集成进相应的代码编辑器是最为方便的,比如 vim 和 emacs :) Regards,-agentzh -- 邮件自: 列表“openresty”,专用于技术讨论! 发言: 请发邮件到 openresty@googlegroups.com 退订: 请发邮件至 openresty+unsubscribe@googlegroups.com 详情: http://groups.google.com/group/openresty 官网: http://openresty.org/ 仓库: https://github.com/agentzh/ngx_openresty 建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp