Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Apr 5, 2015
  1. Tidy up emacs formatter.

    authored
Commits on Apr 3, 2015
  1. @nsf

    Fix FD leak. Oops.

    nsf authored
Commits on Apr 1, 2015
  1. @nsf
Commits on Mar 5, 2015
  1. @aleSuglia

    [emacs] Missing autocomplete configuration default

    aleSuglia authored
    Seems that you've missed to insert, in the lines to add to the file ".emacs", the line: (ac-config-default)
    
    Without this, on my emacs, I'm unable to use gocode.
    
    I hope that this will be useful.
Commits on Feb 15, 2015
  1. @nsf
Commits on Feb 1, 2015
  1. @nsf
Commits on Jan 28, 2015
  1. @nsf
Commits on Jan 27, 2015
  1. @nsf
  2. @nsf

    Check and log autobuild error.

    nsf authored
Commits on Jan 10, 2015
  1. @nsf

    Better looking annotations when annotation alignment is turned off.

    nsf authored
    Instead of displaying meta as-is when annotation alignment is turned off, the
    backend removes first two words from meta, effectively leaving only function
    signatures or types in annotation.
    
    Also reindent everything and remove tabs.
    
    Fixes #266.
Commits on Dec 11, 2014
  1. @bradleywright

    Allow gocode command to be customised

    bradleywright authored
    When used in environments built with `goenv`, the `gocode` command needs
    to be prefixed with `goenv exec`.
    
    This allows the command to be customised via the standard Emacs method -
    but because it defaults to the original value most users shouldn't see
    any difference.
  2. @nsf
  3. @syohex
Commits on Dec 10, 2014
  1. @nsf

    Small fix to elisp snippet in README.

    nsf authored
    Call both functions only under the given condition.
  2. @nsf

    Also mention GOPATH.

    nsf authored
  3. @nsf
Commits on Dec 7, 2014
  1. @nsf
  2. @nsf
  3. @nsf

    Unconditionally require company-template.

    nsf authored
    Otherwise default configuration simply doesn't work. Company itself is usually
    loaded by the user (shows an intent to use it in general), the backend is
    loaded by company-mode.
Commits on Dec 6, 2014
  1. @brianjcj
Commits on Oct 30, 2014
  1. @nsf

    Update test expected values for latest go version (1.4beta1).

    nsf authored
    It sucks that gocode tests depend on Go's API, but I'm too lazy to make it
    right anyway.
Commits on Oct 29, 2014
  1. @nsf

    Insert semicolon at the cursor location. Fixes #254.

    nsf authored
    Often when you do autocompletion, the text your cursor points at is a partial
    statement. But go's parser fails to recognize that if it ends with '.' and
    continues parsing assuming the statement spans multiple lines (doesn't insert
    a semicolon).
    
    This ugly hack fixes it. However, it's unclear how this hack will behave for
    cases when you're in the middle of an expression.
Commits on Oct 28, 2014
  1. @nsf
Commits on Oct 25, 2014
  1. @yasuyk
Commits on Oct 22, 2014
  1. @vanackere
  2. @vanackere

    Fix completion of functions using anonymous structs

    vanackere authored
    When using anonymous structs the ripper would find the wrong beginning for the enclosing function
Commits on Oct 12, 2014
  1. @nsf
  2. @nsf
Commits on Sep 3, 2014
  1. @tiziano88
Commits on Aug 30, 2014
  1. @nsf
  2. @nsf
Commits on Aug 29, 2014
  1. @tiziano88
  2. @tiziano88

    One weird trick to speed up your imports.

    tiziano88 authored
    Setting the `build.FindOnly` flag when calling `context.Import`
    drastically speeds up parsing, especially when accessing remove file
    systems (e.g.  nfs). Tests are still running and everything seems fine
    so far, hopefully nothing relies on anything other than `p.PkgObj`, so
    we should be fine.
Commits on Aug 10, 2014
  1. @tiziano88

    Fix slice indexing in cursorcontext.

    tiziano88 authored
    Fixes a corner case in which if the identifier is followed by a
    whitespace and the cursor is on the whitespace, the code would try to
    access a slice past its boundaries:
    
    ```
    panic: runtime error: slice bounds out of range
    1(runtime.panic): /usr/lib/go/src/pkg/runtime/panic.c:248
    2(runtime.panicstring): /usr/lib/go/src/pkg/runtime/panic.c:482
    3(runtime.panicslice): /usr/lib/go/src/pkg/runtime/panic.c:439
    4(main.(*auto_complete_context).deduce_cursor_context):
    /home/tzn/src/go/src/github.com/nsf/gocode/cursorcontext.go:230
    5(main.(*auto_complete_context).apropos):
    /home/tzn/src/go/src/github.com/nsf/gocode/autocompletecontext.go:253
    6(main.server_auto_complete):
    /home/tzn/src/go/src/github.com/nsf/gocode/server.go:145
    7(main.(*RPC).RPC_auto_complete):
    /home/tzn/src/go/src/github.com/nsf/gocode/rpc.go:26
    8(runtime.call64): /usr/lib/go/src/pkg/runtime/asm_amd64.s:340
    9(reflect.Value.call): /usr/lib/go/src/pkg/reflect/value.go:474
    10(reflect.Value.Call): /usr/lib/go/src/pkg/reflect/value.go:345
    11(net/rpc.(*service).call): /usr/lib/go/src/pkg/net/rpc/server.go:381
    12(runtime.goexit): /usr/lib/go/src/pkg/runtime/proc.c:1394
    ```
Something went wrong with that request. Please try again.