All Projects → kaihendry → goide

kaihendry / goide

Licence: MIT license
Docker run to a sane vim-go setup

Programming Languages

Vim Script
2826 projects
Dockerfile
14818 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to goide

talvos
Talvos is a dynamic-analysis framework and debugger for Vulkan/SPIR-V programs.
Stars: ✭ 67 (+252.63%)
Mutual labels:  debugger
ftrace
Simple Function calls tracer
Stars: ✭ 65 (+242.11%)
Mutual labels:  debugger
defold-vscode-guide
How to turn VSCode into Defold IDE?
Stars: ✭ 62 (+226.32%)
Mutual labels:  debugger
Hypermarket
If you are looking for a stylish and elegant website template for your online store, Hypermarket is the perfect choice for you.
Stars: ✭ 49 (+157.89%)
Mutual labels:  minimal
tinypool
🧵 A minimal and tiny Node.js Worker Thread Pool implementation (38KB)
Stars: ✭ 452 (+2278.95%)
Mutual labels:  minimal
MTATD
MTA:SA debugger and unit testing framework
Stars: ✭ 18 (-5.26%)
Mutual labels:  debugger
DevFolio
A Modern Portfolio Template for Developers with easy setup process documented(with hosting).
Stars: ✭ 96 (+405.26%)
Mutual labels:  minimal
dbgee
The zero-configuration debuggee for debuggers. Handy utility that allows you to launch CLI debuggers and VSCode debuggers from the debuggee side.
Stars: ✭ 67 (+252.63%)
Mutual labels:  debugger
akka-cluster-minimal
Akka Cluster - absolute minimal
Stars: ✭ 16 (-15.79%)
Mutual labels:  minimal
nv2a-trace
A tracing software like apitrace for the original Xbox GPU
Stars: ✭ 20 (+5.26%)
Mutual labels:  debugger
gopherlua-debugger
a gopherlua debugger based on emmylua and gopher-lua
Stars: ✭ 15 (-21.05%)
Mutual labels:  debugger
air
A hyper-minimal WordPress starter theme for developers built with Tailwind CSS.
Stars: ✭ 45 (+136.84%)
Mutual labels:  minimal
debug
Debugging functionality for Ruby
Stars: ✭ 706 (+3615.79%)
Mutual labels:  debugger
jsrdbg
JavaScript Remote Debugger for SpiderMonkey.
Stars: ✭ 23 (+21.05%)
Mutual labels:  debugger
ArmaDebugEngine
A still experimental Script Debugger for Arma 3
Stars: ✭ 38 (+100%)
Mutual labels:  debugger
purity
Oh-My-ZSH prompt inspired by robbyrussell theme + pure prompt
Stars: ✭ 14 (-26.32%)
Mutual labels:  minimal
vim-node-inspect
Interactive node debugger for (n)vim
Stars: ✭ 96 (+405.26%)
Mutual labels:  debugger
dradis-docker
A Docker image with Dradis: A collaboration and reporting platform for IT security experts.
Stars: ✭ 13 (-31.58%)
Mutual labels:  minimal
kolorist
A tiny utility to colorize stdin/stdout
Stars: ✭ 160 (+742.11%)
Mutual labels:  minimal
Unity-Visual-Behavior-Tree
Reactive Visual Scripting Behavior Tree Tool for Unity 2018.x+
Stars: ✭ 36 (+89.47%)
Mutual labels:  debugger

vim with:

  • vim-go for a Golang IDE
  • dlv for debugging
  • :GoTests for generating tests

Try it!

alias g='docker run -it --rm -v $(pwd):/src hendry/goide:latest $@'

Prefer a shell instead?

docker run -it --rm --entrypoint=bash -v $(pwd):/src hendry/goide

Keyboard shortcuts

\ is called the "leader" key in vim.

  • \r Run current buffer
  • F12 Show definition, C-o to switch back
  • C-x C-o Autocomplete with gopls
  • C-g Show functions / declarations
  • \t Go test, \ga switch between test and code
  • K Show documentation

Debug

  • F5 Start / Continue
  • F8 Stop
  • F9 Toggle breakpoint
  • F10 Debug next line
  • F11 Debug step into next function

Super handy commands

  • :GoFillStruct
  • :GoRename
  • :GoAddTags
  • :GoPlay

Do read https://github.com/fatih/vim-go-tutorial

Compared to VS code

Following https://www.youtube.com/watch?v=1MXIGYrMk80 with https://golang.org/doc/code, this project has a couple of advantages:

  • Docker image streamlines setup. No hoop jumping to install the entire environment assuming you have Docker and make installed
  • Efficient vim key bindings, use vimtutor to learn how to edit with it
  • Can be used easily upon remote environments, a terminal environment is all you need
  • :Gotests makes it easier to generate tests

Elsewhere

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].