Comments (3)
v0.7.6.v450 : content assist don't works in some files in packages : io/ioutil, encoding/json, archive/zip, compress/gzip, compress/zlib
from goclipse.
Seems like this is a gocode bug. I get this in the gocode console:
>> Running: D:\devel\goclipse.git\plugin_ide.gocode\tools\windows_amd64\gocode.exe -sock=tcp -f=csv autocomplete D:\devel\DDT\_runtime\GoTest\src\zzz\my_app.go c66
panic: unexpected token: "?"
1(runtime.panic): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:1443
2(main.(*gc_parser).error): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:260
3(main.(*gc_parser).errorf): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:264
4(main.(*gc_parser).parse_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:638
5(main.(*gc_parser).parse_field): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:382
6(main._func_014): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:528
7(main.(*gc_parser).parse_struct_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:535
8(main.(*gc_parser).parse_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:608
9(main.(*gc_parser).parse_type_decl): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:718
10(main.(*gc_parser).parse_decl): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:827
11(main.(*gc_parser).parse_export): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:854
12(main.(*package_file_cache).process_package_data): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:133
13(main.(*package_file_cache).update_cache): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:91
14(main._func_001): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:316
15(runtime.goexit): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:271
panic: One of the package cache updaters panicked
1(runtime.panic): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:1443
2(main.update_packages): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:324
3(main.(*auto_complete_context).update_caches): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:156
4(main.(*auto_complete_context).apropos): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:237
5(main.server_auto_complete): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/server.go:122
6(main.(*RPC).RPC_auto_complete): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/rpc.go:25
7(reflect.Value.call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/reflect/value.go:521
8(reflect.Value.Call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/reflect/value.go:334
9(net/rpc.(*service).call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/net/rpc/server.go:352
10(runtime.goexit): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:271
PANIC,,PANIC,,PANIC
I need to investigate if this is still present in the latest version of gocode or not.
from goclipse.
This doesn't happen with the latest version of gocode. See #88
from goclipse.
Related Issues (20)
- Auto running gofmt does not work HOT 10
- go installation directory can't save HOT 1
- Support creation of new Build Targets
- Console Doesn't Show (ever) HOT 2
- gocode.exe eliminated, why? HOT 2
- No executable created
- Option button on outline view to sort alphabetically
- "guru" does not work properly in Goclipse. HOT 2
- goclipse seems to be looking in /usr/local/go even If I set it to use another location in preferences HOT 6
- How to run a Unit Test for GO like Junit for JAVA HOT 1
- Project doesn't build if it doesn't have a src folder HOT 4
- keyword highlighting dont work?
- The goto label should have autocomplete support
- Outline not correct on open when a struct definition is spread among more than one file
- lint on specific file
- could not start goclipse because java version is 0 HOT 5
- Fail to build lint and work fine inside terminal in MacOS
- 在eclipse上运行go项目报Executable file (D:\work_space\sad\bin\main.exe) doesnt exist. HOT 1
- Got this error when install GoEclipse
- goclipse and gocode doesn't work form golang version 1.10!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goclipse.