sr-speedbar使用了speedbar的文件检索功能,但是Emacs24自带的speedbar不支持go文件预览,下面是在speedbar中使能go-mode的一种方法:

1,按F10启动菜单栏

2,Options -> Customize Emacs -> Specific Option

3,输入要修改的变量speedbar-supported-extension-expressions

4,可以看到speedbar支持的文件类型:

 

Emacs的sr-speedbar中使能Go-mode

5,点击最下面的INS按钮,加入.go扩展名。

6,点击“Apply And Save”按钮,保存。

相关文章:

  • 2022-12-23
  • 2021-09-08
  • 2021-11-29
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-29
  • 2021-04-27
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案