Skip to content

isdamir/godev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

功能

emacs开发go-lang的插件,提供编译,自动完成,快捷执行,格式化代码,调试的支持

安装

安装gocode

安装gocode的方法可以参照https://github.com/nsf/gocode
或者执行:
go get -u github.com/nsf/gocode

安装godev

直接git clone https://github.com/iyf/godev.git到load-path
然后
(require 'godev)
即可

使用方法

调试界面快捷键

f5没运行就会执行,断点按f5继续
S-f5退出调试
f8输出变量的值
C-f8打印出指针对应的值
f9当前f9行没有断点则加入断点,否则移除断点
f10单步执行
C-f10 一直执行光标位置
S-f10 跳到光标位置,下一次会从光标处执行
f11单步执行,f11会进入函数内部
C-f11跳出当前函数

编辑模式下快捷键

f5运行程序
C-f5调试程序

我的blog:http://iyf.cc

About

golang develop for emacs plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published