Comments (3)
Hey Bill, thanks for the report. Can you explain a bit more what you would
like to see in this case? I'm not sure what the right answer is.
Original comment by [email protected]
on 5 Dec 2010 at 7:31
from goclipse.
Ending an import with "}" instead of ")" completely disables the builder
because the "dep" program returns an unexpected result. There is no indication
in the source editor that there is a problem with the imports. There is,
however, an error in the Eclipse log, which I forgot to mention:
Error parsing dependencies:
/private/bill/work2/.metadata/.go/linux/386/tools/dep completed with non-zero
exit value (255)
After the error from dep, the plugin completely stops reporting errors; if you
fix errors or produce new ones, the editor does not reflect that. There is no
indication that "}" is the problem. If you change "}" to ")", the editor
starts reporting errors and corrections properly.
My guess is that the builder is dying because of dep's exit value. If this is
the case, maybe the editor can at least display a red "x" indicate that there
is a problem with the import block.
Original comment by [email protected]
on 5 Dec 2010 at 8:06
from goclipse.
I committed a fix for this. It determines when there's a problem parsing the
deps, and adds a marker at the problem line number.
Original comment by [email protected]
on 7 Jun 2011 at 4:19
- Changed state: Fixed
from goclipse.
Related Issues (20)
- Gocode Plugin failed to kill gocode process on Windows XP home Edition
- Can't use imported packages HOT 2
- Build Errors Don't Stop Execution HOT 1
- Unchecking "Start Gocode server automatically" has no effect HOT 1
- Let Go projects being created in arbitrary directories
- Handle Go line directives correctly
- Build produce no output in Console HOT 3
- No automatic indentation
- Error with documentation popup
- Not compiling on save HOT 2
- Go uses weird date format (probably US, or iranian) HOT 2
- Linked folders cause project name to be prepended to file paths, causing Resource Not Found stack traces. HOT 1
- External Packages Aren't Added to Pkg Directory
- ctrl-clic can show to wrong function
- Debugging: adding a breakpoint results in -break-insert error messages from gdb into the console HOT 1
- UTF-8 chinese character GoCode
- Content assist does not work for some source code file HOT 1
- Create markers when formatting fails HOT 2
- unexpected char: }
- .exe file doesn't exist HOT 5
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.