简体   繁体   English

如何在Emacs中从php模式显示所有语法符号?

[英]How to display all syntactic symbols from php mode in Emacs?

How to get a list of all syntactic symbols? 如何获得所有语法符号的列表? like when you type Mx c-set-offset you get one of them. 就像当您键入Mx c-set-offset您会得到其中之一。 I have my old code (from this question how to fix php-mode indenting when using closures ), that use c-syntactic-context but it seams only work for c-special-indent-hook because Emacs say that the variable is void. 我有我的旧代码(从这个问题开始,使用闭包时如何修复php-mode缩进 ),它使用c-syntactic-context但它仅适用于c-special-indent-hook因为Emacs说该变量为空。

I want it for php mode. 我想要用于php模式。

Just type Mx c-set-offset and then hit TAB. 只需键入Mx c-set-offset ,然后按TAB。 The completion buffer will show you all the symbols. 完成缓冲区将显示所有符号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM