Code Monkey home page Code Monkey logo

autocomplete-go's Introduction

autocomplete-go Build Status Build status

An autocomplete-plus provider for the go language that uses gocode to provide suggestions.

Prerequisites

This package requires the following packages to be installed:

Additionally, you should have gocode installed and available on your path:

go get -u github.com/nsf/gocode

If you have the go-get package installed, this package will prompt you to get gocode (if it is missing) or update gocode (if it is out of date).

FAQ

I am not getting suggestions I expect!

gocode uses the output from go install to provide its suggestions. You have a few options to ensure you always get up-to-date suggestions:

  • Always run go install ./... in your package when you make a change
  • Run gocode set autobuild true to have gocode attempt to run go install ./... for you
  • Configure a package (like build) to run your build command on every save

Configuration

  • scopeBlacklist: Suggestions will not be shown when the cursor is inside the specified comma-delimited scope(s) (default: .source.go .comment)
  • suppressBuiltinAutocompleteProvider: Suppress the provider built-in to the autocomplete-plus package when editing .go files (default: true)
  • suppressActivationForCharacters: Suggestions will not be provided when you type one of the specified characters (default: comma, newline, space, tab, /, \, (, ), ", ', :, ;, <, >, ~, !, @, #, $, %, ^, &, *, |, +, =, [, ], {, }, `, ~, ?, -)

autocomplete-go's People

Contributors

joefitzgerald avatar

Watchers

David Fleming avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.