ascarter / Go-bbpackage

BBEdit package for Go development
MIT License
35 stars 3 forks source link

BBEdit package for Go development

This project is no longer necessary. BBEdit now has full support for Language Server Protocol (LSP) which eliminates the need for custom syntax module. I no longer use this package. See Bare Bones support page for LSP for instructions on how to install Go's LSP server.

Features

The package is a collection of BBEdit supporting elements for developing Go applications. The Resources directory contains the toolset for supporting the scripting and integration.

Requirements

The following are required for using Go.bbpackage:

Install

Download the latest release and install with BBEdit.

Build

The package should be cloned into a working directory. The Makefile will build the sources. The install task will install the package to the correct Application Support directory (either Dropbox, iCloud Drive, or ~/Library).

    git clone https://github.com/ascarter/Go-bbpackage.git
    cd Go-bbpackage
    make install

To update, pull changes and run make install again:

    cd Go-bbpackage
    git pull
    make clean install

Usage

The best way to use BBEdit with a Go project is to simply launch BBEdit from the project root.

    cd ~/Projects/workspace/src/github.com/<username>/<my cool project>
    bbedit .

Go version update

For new versions of Go, the package should generally work. The standard library tags can be updated by using the script stdlib/Update ctags