Emacs模式/使用空格的运算符的函数 [英] Emacs mode/function that wraps operators with spaces

查看:153
本文介绍了Emacs模式/使用空格的运算符的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得Emacs有一个模式,或者是一个选择,不记得,通过在运算符之后放置空格,如,用空格包裹 = ,还有其他一些我不记得的东西。



我认为这是很多语言特定的问题,但是我通常在空格之后加逗号,并用空格包裹 = 。关于这种模式的任何想法?

解决方案

你可能在想 smart-operator.el


I remember that there was a mode for Emacs, or was it an option, can't recall, that prettified the code by placing space after operators like ,, ., wrapped = with spaces, and some other cools stuff that I can't remember.

I reckon that this is pretty much language-specific issue, but I usually put space after commas, and wrap = with spaces. Any ideas about this mode?

解决方案

You're probably thinking of smart-operator.el.

这篇关于Emacs模式/使用空格的运算符的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆