Skip to content

twoojoo/sublime-fillstruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

sublime-fillstruct

Simple golang fillstruct plugin for sublime text built on reftools.

Place the cursor between the curly braces for a correct autofill. This should sync with autocomplete cursor positioning

gif

install

go install github.com/davidrjenni/reftools/cmd/fillstruct@latest

git clone git@github.com:twoojoo/sublime-fillstruct.git

cp ./sublime-fillstruct/fillstruct.py ~/.config/sublime-text/Packages/User

kebinding

Just add the commad to your keybindings

[
  //...
  {"keys": ["ctrl+alt+f"], "command": "fillstruct"},
  //...
]