Emacs模式为Go? [英] Emacs mode for Go?

查看:114
本文介绍了Emacs模式为Go?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有适合的Emacs模式? C模式在没有分号的情况下不起作用。我发现的最好的是 Karl Landstrom的JavaScript模式,因为JavaScript也没有不需要分号。

解决方案

尝试 misc / emacs / go-mode.el 网络链接)。



如果您使用的是 Emacs 24和果酱回购,使用 Mx包安装< RET> go-mode 直接安装。


Is there a suitable Emacs mode for Go? C mode doesn't work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn't require semicolons.

解决方案

Try misc/emacs/go-mode.el (web link) in the Go distribution.

If you are using Emacs 24 and marmalade repo, use M-x package-install <RET> go-mode to install it directly.

这篇关于Emacs模式为Go?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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