加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – 如何在gedit中为html.erb文件设置语法高亮显示

发布时间:2020-12-17 04:24:05 所属栏目:百科 来源:网络整理
导读:如何在gedit中为html.erb文件设置语法高亮显示为 ruby文件? 我试过这些,不行. Syntax highlighting in gedit not working automatically 解决方法 哦!我得到了解决方案. 你需要在Ubuntu中安装Gmate. GMate是插件,主题/样式和其他改进的集合,以在Gedit中获得
如何在gedit中为html.erb文件设置语法高亮显示为 ruby文件?

我试过这些,不行.
Syntax highlighting in gedit not working automatically

解决方法

哦!我得到了解决方案.

你需要在Ubuntu中安装Gmate. GMate是插件,主题/样式和其他改进的集合,以在Gedit中获得类似TextMate的功能.键入以下命令以安装Gmate.

sudo apt-add-repository ppa:ubuntu-on-rails/ppa
sudo apt-get update
sudo apt-get install gedit-gmate

当你打开你的.html.erb并瞧!它就是.

更多信息,请访问https://github.com/gmate/gmate#readme

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读