Giter Site home page Giter Site logo

goclipse's People

Contributors

googlecodeexporter avatar

Watchers

 avatar

goclipse's Issues

Project Explorer "Link with editor" button does not work

What steps will reproduce the problem?
1. Create a project and add a source file
2. Open the source file in an editor
3. Click the "link with editor" button in the project explorer (looks like two 
yellow arrows pointing in opposite directions)

What is the expected output? What do you see instead?
Expected that the open file would be highlighted in the project explorer.  It 
is not.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 8:51

Problem with displaying Japanese characters in Go editor even with UTF-8 resource set

What steps will reproduce the problem?
1. Create new Go source 
2. Switch the IME mode to Hiragana and type any japanese for ex: こんちは!
3. See the displayed text by Go editor

What is the expected output? What do you see instead?
The expected output is Japanese text, instead boxes are displayed

What version of the product are you using? On what operating system?
Eclipse Helios. Windows 7.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Aug 2010 at 5:52

Attachments:

All files deleted upon Project > Clean, including src

What steps will reproduce the problem?
1. I selected Project > Clean... and chose my go project to clean

What is the expected output? What do you see instead?

All files in my project directory were deleted, including the source tree and 
the .project file.

What version of the product are you using? On what operating system?

goclipse_feature 0.0.12

Please provide any additional information below.

This version was checked out from the update site under GoClipse (as opposed to 
Go Plug-in for Eclipse/Nefarious_feature)

Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 11:17

compile fails to resolve main package dependencies

What steps will reproduce the problem?
1. see attached project. Two files in main package: cmd1.go and cmd2.go which 
declare two functions: fromCmd1() and fromCmd2()
2. fromCmd1() is used in cmd2.go
3. fromCmd2() is used in cmd1.go

What is the expected output? What do you see instead?
compile should succeed. Instead, at call time, fromCmd1 and fromCmd2 are 
reported as undefined.

Please use labels and text to provide additional information.


The way the old dependency manager was doing it was to add all files in a 
package in the command that compiled one file from that package.
For this case, the old way would have done it like this:
8g cmd1.go cmd2.go
8g cmd2.go cmd1.go



Original issue reported on code.google.com by [email protected] on 2 Nov 2010 at 9:03

Attachments:

using type-specific code-completion autocompletes improperly

What steps will reproduce the problem?
1. start with eg:
package main
import "os"

2. add: var foo = os.const<alt+space> and select O_APPEND: 

What is the expected output? What do you see instead?

expected output: var foo = os.O_APPEND
actual output: var foo = os.constEND


What version of the product are you using? On what operating system?
goclipse 0.0.18
Autocomplete with gocode 0.0.17
Windows XP X64

Please provide any additional information below.

may be a gocode issue?  nsf said something about csv output not having the same 
information as other output types..

Original issue reported on code.google.com by [email protected] on 25 Dec 2010 at 7:56

Error then import local packages

What steps will reproduce the problem?
1. Try to import package from subdirectory. For example: import "./pkg/a"

What is the expected output? What do you see instead?
I see error.



Original issue reported on code.google.com by aka.spin on 16 Oct 2010 at 9:03

Conform to naming standards

Currently the primary plugin is called goclipse.  To conform to eclipse 
community naming standards, it should be something like com.googlecode.goclipse

Additionally, the feature currently displays "goclipse_feature" as its name 
during installation.  It should probably display something more human-friendly 
like "Goclipse Feature"

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 3:04

Build fails with error "No such file or directory"

What steps will reproduce the problem?
1. Select a go source file 
2. Run as > Go Application
3. Error dialog 'Launching hello.go failed' has encountered a problem' shows

What is the expected output? What do you see instead?
I would expect a console with the program output or a compile error message but 
I'm stopped by a error dialog box.

What version of the product are you using? On what operating system?
Ubuntu 11.04, Eclipse 3.6.2, GoClipse 0.0.23

Please provide any additional information below.
The dialog shows this:
Exception occurred executing command line.
Cannot run program "/home/<username>/devel/goproject/bin/linux_amd64/hello" (in 
directory "/home/<username>/devel/goproject/bin/linux_amd64"): 
java.io.IOException: error=2, No such file or directory

The source file hello.go compiles fine with 6g+6l through the terminal and 
eclipse and goclipse are fresh installs.

Original issue reported on code.google.com by [email protected] on 6 Jun 2011 at 10:50

Interface View

Provide a view that give the user an indication of what interfaces are matching 
to the types defined within the current display context.

For example, when I open a file that has a type that matches three interfaces:

- type x
   interface a
   interface b
   interface c
- type y
   interface a

Original issue reported on code.google.com by [email protected] on 2 Nov 2010 at 2:46

2010-12-8 release breaks dep.go

What steps will reproduce the problem?
1. dep.go fails to compile because of (another) change to the signature for 
ParseFile()


Please use labels and text to provide additional information.
Please see announcement here:

http://groups.google.com/group/golang-nuts/browse_thread/thread/7a50ddbc340288bc

And new documentation for ParseFile here:
http://golang.org/pkg/go/parser/#ParseFile

And the source of dep.go here:
http://code.google.com/p/goclipse/source/browse/trunk/goclipse-n/tools/src/dep/d
ep.go

Original issue reported on code.google.com by [email protected] on 8 Dec 2010 at 2:28

gotest integration

Just like the other people from the Go community (see e.g. 
<https://groups.google.com/d/topic/goclipse/GSkaWw3zCsc/discussion>), I would 
like the IDE to prepare gotest makefiles and run it for me rather than doing it 
manually.

Original issue reported on code.google.com by [email protected] on 3 Jun 2011 at 9:43

Go Eclipse fail to run on Ubuntu 10.04.1

What steps will reproduce the problem?
1. Use Ubuntu Linux
2. Code
3. Try to execute

What is the expected output? What do you see instead?
It was expected to run but I got this instead:

[DEBUG]   Loading Go Plug-in Preferences...
[DEBUG]   File copied:/home/maat/workspace/.metadata/.go/linux/386/tools/dep.go
[DEBUG]   /home/maat/workspace/.metadata/.go/linux/386/tools executing: 
[/opt/go/bin/8c, -o, dep.8, dep.go]
[DEBUG]   /home/maat/workspace/.metadata/.go/linux/386/tools executing: 
[/opt/go/bin/8l, -o, dep.exe, dep.8]
launch shortcut: selection [L/Vai/src/Developer_Day0.go] mode run

[DEBUG]   /home/maat/workspace/Vai/bin/out executing: 
[/home/maat/workspace/Vai/bin/out/Developer_Day0.exe, ]
java.io.IOException: Cannot run program 
"/home/maat/workspace/Vai/bin/out/Developer_Day0.exe" (in directory 
"/home/maat/workspace/Vai/bin/out"): java.io.IOException: error=2, No such file 
or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at com.googlecode.goclipse.builder.ExternalCommand.execute(ExternalCommand.java:73)
    at com.googlecode.goclipse.builder.GoLauncher.execute(GoLauncher.java:227)
    at com.googlecode.goclipse.debug.ui.LaunchShortcut$1.run(LaunchShortcut.java:34)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or 
directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... 4 more



What version of the product are you using? On what operating system?
Linux Ubuntu 10.04.1
Eclipse Java EE IDE for Web Developers.

Version: Helios Release
Build id: 20100617-1415

Go Eclipse 0.0.12

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 7:01

  • Merged into: #8

Multi-line errors not handled correctly.

What steps will reproduce the problem?
1.  Create two files in the same package that both have a definition for "func 
foo()"
2.  Compile
3.

What is the expected output? What do you see instead?
Goclipse should report the whole error message "cmd2.go:3: foo redeclared in 
this block previous declaration at cmd1.go:3", but instead only reports the 
first line, "foo redeclared this block"

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 1:43

Project dead?

No commits, No response to issues. 
http://github.com/mtoader/google-go-lang-idea-plugin looks better (and acts 
better)

Original issue reported on code.google.com by aka.spin on 20 Sep 2010 at 1:54

gocode broken as of Go release weekly.2011-04-27

What steps will reproduce the problem?
1. Update Go to release weekly.2011-04-27 or higher.
2. Install Goclipse.
3. Install gocode for auto-complete as described at 
http://code.google.com/p/goclipse/wiki/GocodeIntegration

What is the expected output? What do you see instead?
Gocode should build properly and auto-complete should work. However, gocode 
does not compile and even after changing a few things to make it compile, it 
still does not work.

What version of the product are you using? On what operating system?
Goclipse 0.0.20 on 32-bit Linux Mint 9 KDE.

Please provide any additional information below.
The gocode author has posted a bug report at 
https://github.com/nsf/gocode/issues/36 which explains the situation. In brief, 
Go's reflect package has changed substantially and gocode's author no longer 
uses Go, so he does not want to invest the significant time to fix it.

Original issue reported on code.google.com by MarkHkamp on 30 Apr 2011 at 4:37

Hyperlinking Functionality

The plug-in should provide a means to hyperlink from one area of the codebase 
to another via a ctrl+click on a method or variable name.


Original issue reported on code.google.com by [email protected] on 1 Nov 2010 at 5:10

Output from compiling ends up in src/..., not bin/... or pkg/...

Packages are broken in 0.16a because output from compiling goes into the src 
tree, not bin/pkg.

What steps will reproduce the problem?
1.  Follow instructions on 
http://code.google.com/p/goclipse/wiki/GettingStarted until you run the program 
for the first time.
2.  Observe that the hello object file is located in the source tree at 
${projectdir}/src/cmd/_obj/hello.6, while the linked application is in the bin 
tree at ${projectdir}/bin/darwin_amd64/hello.
3.  Continue with the instructions, adding the "clock" package.  Note that 
adding import "clock" to the hello.go program gives an unrecognized package 
error.
4.  Observe that clock.6 was compiled to 
${projectdir}/src/pkg/clock/_obj/clock.6 instead of 
${projectdir}/pkg/darwin_amd64/clock.6
5.  Copy clock.6 to ${projectdir}/pkg/darwin_amd64/clock.6
6.  Observe that hello.go can find clock now, and can be executed with the "Run 
As... > Go Application" context menu.

What is the expected output? What do you see instead?
I expect the *.6 compiled files to show up in ${projectdir}/bin/... and 
${projectdir}/pkg/..., not ${projectdir}/src/...

What version of the product are you using? On what operating system?
goclipse 0.16a on Eclipse 3.6 on Mac OS X.

Please provide any additional information below.
When I look for my project's properties, under "Build Configuration" the window 
shows:

Source Folders on Build Path:
src/pkg      (Add Folder...)
src/cmd     (Remove Folder....)

Output Folder
pkg/darwin_amd64  (Browse...)
bin/darwin_amd64   (Browse...)



Original issue reported on code.google.com by [email protected] on 24 Nov 2010 at 11:17

Can't install on Galileo

What steps will reproduce the problem?
1. Try to install the plugin from the update site from Galileo
2. Verify error message

What is the expected output? What do you see instead?

An error occurred while collecting items to be installed
  session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
  No repository found containing: osgi.bundle,com.googlecode.goclipse.gocode,0.0.20
  No repository found containing: osgi.bundle,goclipse,0.0.20
  No repository found containing: org.eclipse.update.feature,goclipse_feature,0.0.20

What version of the product are you using? On what operating system?

0.0.20 on Windows Vista.

Please provide any additional information below.

N/A

Original issue reported on code.google.com by [email protected] on 9 May 2011 at 2:35

Mouseover problem icons should give problem text

Enter a description of the desired functionality here...

In the Eclipse Java tools, when the user mouses-over an error icon at the left 
of an editor, a tooltip comes up with the error text.  It would be nice if 
goclipse did this as well

Original issue reported on code.google.com by [email protected] on 2 Nov 2010 at 8:19

compile error when a package has multiple source files

What steps will reproduce the problem?
1. new a go project
2. new a go source file -- filea.go
3. define package pkgmultisource and func fa() { fb() }
4. new another go source file -- fileb.go
5. define same package pkgmultisource and func fb() { fmt.Println("hello") }
I couldn't use goclipse to build the project, there was compile error 
--"undefined fb()"
I used 8g filea.go fileb.go, and had no problem.

What is the expected output? What do you see instead?
.8 file instead of compile error.

What version of the product are you using? On what operating system?
I use eclipse 3.6 with goclipse 0.0.18 on Ubuntu 9 desktop 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Jan 2011 at 1:14

Attachments:

error while having two files in cmd folder

It seems that the build system expects both files to generate executables and 
from here is the problem.
- if both would generate executables, then both should have main function 
defined, however they are both in the main package so this is would generate a 
redefinition error.
- if only one of them has main function, then for the one that does not have 
it, the linker will complain about a missing main function when trying to 
generate an executable for it. 

The fast work around is to never use cmd folder directly, rather have separate 
folders for each exe you want to build.


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Nov 2010 at 8:09

Create an intro

Enter a description of the desired functionality here...

Create an intro using the "org.eclipse.ui.intro" to help new users set up the 
preferences.

Tutorial here:
http://www.developer.com/java/ent/article.php/3698021/Eclipse-Tip-Making-a-Good-
First-Impression.htm


Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 3:32

Display Documentation

The documentation for a method/function or variable should popup upon hover, 
and/or be displayed in a documentation view.

Original issue reported on code.google.com by [email protected] on 1 Nov 2010 at 5:14

Circular dependency causes NPE, no error

What steps will reproduce the problem?
1. Create a project where package 'a' depends on package 'b' and vice versa
2.
3.

What is the expected output? What do you see instead?
Nice error message for the user indicating circular dependency. Rather we get 
no error message and this in the log:
java.lang.NullPointerException
    at com.googlecode.goclipse.dependency.Graph.toString(Graph.java:170)
    at com.googlecode.goclipse.dependency.DependencyGraph.toString(DependencyGraph.java:89)
    at com.googlecode.goclipse.builder.GoDependencyManager.buildDep(GoDependencyManager.java:173)
    at com.googlecode.goclipse.builder.GoBuilder.incrementalBuild(GoBuilder.java:282)
    at com.googlecode.goclipse.builder.GoBuilder.build(GoBuilder.java:135)
    at 
... eclipse stack trace elided 


Please use labels and text to provide additional information.
The dependency graph actually detects the problem just fine, it returns null 
from topologicalSort().  The code calling it just blows up.

Original issue reported on code.google.com by [email protected] on 12 Nov 2010 at 10:24

Code Completion failing with NullPointerException

On Windows I installed the current version of Goclipse.
No Gocode daemon installed or running (well, it’s on windows).

Using CTRL+Space to call auto-complete will display a “Problem Occured” 
dialog box with the content:
"Content Assist" did not complete normally.  Please see the log for more 
information.
java.lang.NullPointerException


Win7 x64,
Eclipse IDE for Java Developers – Helios Service Release 2,
Go gowin32_release.r57.1_installer

Original issue reported on code.google.com by [email protected] on 13 May 2011 at 5:29

Projects broken after Go compiler update

What steps will reproduce the problem?
1. Build a project.
2. Update Go to a different version, example:
hg update weekly && cd src && ./all.bash
3. Add another package to your program or just modify something in existing 
code.
4. Try to build again. You will get error messages in "import" because packages 
are compiled with wrong Go version.
5. If you remove all the *.a and obj files it says "can't import 
'package_name'". Neither it attempts to rebuild them with a newer compiler.

What is the expected output? What do you see instead?
I expect all packages to be recompiled if compiler version has changed.

What version of the product are you using? On what operating system?
GoClipse 0.0.26, Go weekly.2011-06-16 8787 on Linux 64bit.

Please provide any additional information below.
The only way to make it recompile the packages with a new compiler version is 
to click "Add/Remove Go Nature" twice.

Original issue reported on code.google.com by [email protected] on 18 Jun 2011 at 8:28

Cannot Build with latest version of Go

What steps will reproduce the problem?
1.  Latest Go Release (2010-10-13) Installed  
2.  Version 0.0.15 Goclipse
3.  Try to build

What is the expected output? What do you see instead?

Console output:
[DEBUG]   Loading Go Plug-in Preferences...
[DEBUG]   File 
copied:/home/<username>/go-workspace/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /home/<username>/go-workspace/.metadata/.go/linux/amd64/tools 
executing: [/home/steel/bin/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:3: can't find import: go/ast



Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 15 Oct 2010 at 6:38

Executable extension is linked to Arch, not OS

What steps will reproduce the problem?
1. Build applications on both Windows/amd64 and Linux/386
2.
3.

What is the expected output? What do you see instead?
On all Windows platform, we expect executables to end in ".exe".  On all Linux 
platforms we expect them not to have an extension.  However the extension value 
is linked to arch, not OS.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 11 Nov 2010 at 2:13

Eclipse does not build go project

What steps will reproduce the problem?
1. Download a fresh eclipse classic 3.6.2
2. Install goclipse according to the wiki instructions.
3. Enter the go root directory under Window/Preferences
4. Start a new project according to the steps in "Getting started"-wiki.

What is the expected output? What do you see instead?
Expected: Automatic build and when I click run it should print "Hello world".
Instead, nothing builds. Not even when I disable automatic build and hit the 
build all. It is like it does not recognize that there is actually a project 
present.

What version of the product are you using? On what operating system?
eclipse 3.6.2, golipse 0.20, Ubuntu natty.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Apr 2011 at 12:46

setDefaults in MainLaunchConfiguration throws NPE

What steps will reproduce the problem?
1. From the run menu, choose "Run Configurations"
2. Create a new Go Application run configuration
3.

What is the expected output? What do you see instead?
I believe the only apparent symptom is a red x icon on the Main tab.  However a 
NullPointerException is thrown in setDefaults when trying to access 
"composite".  The docs for ILaunchConfigurationTab.setDefaults say "This method 
may be called before this tab's control is created."

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Oct 2010 at 1:43

Go Snippet Integration

Provide a means to provide & insert code snippets for commonly used Go 
constructs and idioms.  

Original issue reported on code.google.com by [email protected] on 1 Nov 2010 at 5:32

Errors occurred during the build. Errors running builder 'Go Project Builder' on project ....

What steps will reproduce the problem?
1.use eclipse 3.6 create go project
2.click pkg or cmd folder


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
eclipse 3.6 on ubuntu 10.10 64bit

Please provide any additional information below.
 error message is:
Errors occurred during the build.
Errors running builder 'Go Project Builder' on project 'go'.
null argument:

Original issue reported on code.google.com by [email protected] on 26 Nov 2010 at 11:24

CodeContext parser doesn't recognize underscores in import statements

The CodeContext parser has trouble with underscores. You can see this in the 
outline view. When you open the attached file, the imports:

import . "./mc_constants"
import (
    "./mc_conn_handler";

show up as:

"/mcconstants"
"/mcconnhandler"

The underscore is ignored. Also the "./" at the front of the import is changed 
to a "/". I don't know if the two chars should be preserved entirely or removed.

Original issue reported on code.google.com by [email protected] on 10 Jun 2011 at 1:05

Attachments:

encountering a parse error with dep prevents goclipse builder from continuing

What steps will reproduce the problem?
1. make sure there are errors in your go file

2. make an import statement that ends with "}" instead of ")" like this:

import (
  "fmt"
}

3. clean the project and rebuild it

What is the expected output? What do you see instead?

Red "x"s for other errors in file

instead, there are no red "x"s

What version of the product are you using? On what operating system?

goclipse 0.0.17
Linux

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 9:13

Delete and Rename are not working.

What steps will reproduce the problem?
1. from a fresh installation of Eclipse goclipse create a FirstProjet
2. rename this FirstProjet in SecondProject
or
2. delete this FirstProject and then create a SecondProjet

What is the expected output? 
I'm expecting to be able to compile/link/execute the SecondProjet

What do you see instead?
I get this error message in the console : "could not find project FirstProjet 
in workspace C:\Documents and Settings\jean\workspace"

What version of the product are you using? 
Goclipse 0.0.13 
Helios Build id: 20100617-1415
java 1.6.0_21-b06

On what operating system?
on windows XP sp3

Please provide any additional information below.
I fix the problem by deleting the file(s) in 
workspace\.metadata\.plugins\org.eclipse.debug.core\.launches


Original issue reported on code.google.com by [email protected] on 17 Jul 2010 at 11:28

The auto-generated Makefile has some problem

What steps will reproduce the problem?
1. The auto-generated Makefile has some problem:
GOBIN  = $(subst " ",\ ,$(HOME))/bin
the GOBIN is not correct.

What is the expected output? What do you see instead?
make is not work yet.
make: *** No rule to make target `\hello\src\hello.go', needed by `_obj/hello.8'
.  Stop.

What version of the product are you using? On what operating system?
Eclipse: Version: Helios Release Build id: 20100617-1415
GoCipse: 0.0.13
OS: Windows XP SP4

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Aug 2010 at 1:45

Attachments:

Certain files in pkg don't get built

What steps will reproduce the problem?
Unknown, haven't detected a pattern yet

What is the expected output? What do you see instead?
I have a own package under src/pkg, some files won't get built at all. I can 
write any text and won't see compiler errors.

What version of the product are you using? On what operating system?
Ubuntu 10.04 64bit, GoClipse 0.0.23

Please provide any additional information below.
When I recreate the content in another file, it will be built.
Could be a problem with encoding that leads to a silent error.

Original issue reported on code.google.com by ungerik on 9 Jun 2011 at 10:54

Attachments:

Load go file which is not part of project fails

What steps will reproduce the problem?
1.Open a working goclipse project
2.browse to any go source file which is not part of the project
3.

What is the expected output? What do you see instead?
expected: File is opened with systanx highlighting.
got: Could not open the editor: Editor could not be initialized.
java.lang.ClassCastException: org.eclipse.ui.ide.FileStoreEditorInput cannot be 
cast to org.eclipse.ui.IFileEditorInput
    at com.googlecode.goclipse.editors.DocumentProvider.createDocument(DocumentProvider.java:22)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.createElementInfo(AbstractDocumentProvider.java:331)
    at org.eclipse.ui.editors.text.StorageDocumentProvider.createElementInfo(StorageDocumentProvider.java:274)
    at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:770)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:398)
    at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4135)
    at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:203)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1413)
    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:166)
    at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3134)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3161)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151)
    at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:107)
    at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:76)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



What version of the product are you using? On what operating system?
Linux 64bit, GoClipse 0.0.15


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Nov 2010 at 2:20

Recent Go language update has broken dep.go

What steps will reproduce the problem?
1. Update to latest go source base (I'm at 36cb646b1790 tip)
2. Start goclipse
3. Notice dep.exe does not get created in the .metadata/... directory 

What is the expected output? What do you see instead?
Generate dep.exe from dep.go

What version of the product are you using? On what operating system?
Svn revision 57

Please provide any additional information below.

The number of arguments to ParseFile has been reduced from 4 to 3.
This is the diff that causes the problem:
http://code.google.com/p/go/source/diff?spec=svn168f888ecd8c084459df04933c481d04
570a4d17&r=24a31d895bbd3f6216401b30cd7440bea9d0751b&format=side&path=/src/pkg/go
/parser/interface.go&old_path=/src/pkg/go/parser/interface.go&old=e5b35966e16252
20b15147959b71d63f7a5fe1e2

Is it possible that reflection could be used to handle both signatures?



Attached is a patch to generate an entry in the error log when compilation of 
dep.exe has failed.

Original issue reported on code.google.com by [email protected] on 24 Aug 2010 at 5:35

Attachments:

Lexer is not properly tokenizing strings

What steps will reproduce the problem?

Have import parser parse a source file containing lines like:

  fmt.Printf(" <import path=")
  fmt.Printf(" ")


What is the expected output? What do you see instead?

  Should not create an import entry, but does:

  )fmt.Printf(


Original issue reported on code.google.com by [email protected] on 17 Jun 2011 at 6:56

Go Preference Configuration cannot be escaped

What steps will reproduce the problem?
1. Start plug-in from scratch (no preexisting config)
2. Create project, so config will display asking to be set
3. try to cancel without setting proper config

What is the expected output? What do you see instead?
Cannot cancel out of preference window, keeps popping up

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 7:09

Problem Building Workspace

Hi, I installed goclipse and can not compile a project. 
The project template is empty. If I create a source file it does not occur 
under packages tree but under project. I constantly get this error:

Errors occurred during the build.
Errors running builder 'Go Project Builder' on project 'foo'.
null argument:

Debug output:

[DEBUG]   Loading Go Plug-in Preferences...
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
[DEBUG]   Prefences Inited
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   Prefences Inited
cmoetzing@cmoetzing-desktop:/opt/goclipse/eclipse$ ./eclipse 
org.eclipse.core.internal.resources.ResourceException: Resource '/foo' is not 
open.
    at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137)
    at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511)
    at com.googlecode.goclipse.ui.navigator.GoNavigatorContentProvider.resourceChanged(GoNavigatorContentProvider.java:175)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
    at org.eclipse.core.internal.resources.Project.create(Project.java:318)
    at org.eclipse.core.internal.resources.Project.create(Project.java:256)
    at org.eclipse.core.internal.resources.Project.create(Project.java:249)
    at com.googlecode.goclipse.wizards.NewProjectWizard$1.run(NewProjectWizard.java:91)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
org.eclipse.core.internal.resources.ResourceException: Resource '/foo' is not 
open.
    at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137)
    at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511)
    at com.googlecode.goclipse.ui.navigator.GoNavigatorContentProvider.resourceChanged(GoNavigatorContentProvider.java:175)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
    at org.eclipse.core.internal.resources.Project.create(Project.java:318)
    at org.eclipse.core.internal.resources.Project.create(Project.java:256)
    at org.eclipse.core.internal.resources.Project.create(Project.java:249)
    at com.googlecode.goclipse.wizards.NewProjectWizard$1.run(NewProjectWizard.java:91)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
[DEBUG]   Loading Go Plug-in Preferences...
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
writing to 
/XXX/.metadata/.plugins/org.eclipse.core.resources/.projects/foo/goclipse/proper
ties.xml
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet
[DEBUG]   File copied:/XXX/.metadata/.go/linux/amd64/tools/dep.go
[DEBUG]   /XXX/.metadata/.go/linux/amd64/tools executing: 
[/opt/google/go/bin/6g, -o, dep.6, dep.go]
[DEBUG]   error in parse connector:dep.go:26: undefined: token.NewFileSet

Original issue reported on code.google.com by [email protected] on 28 Jan 2011 at 1:23

Eclipse update site offers nefarious_feature but does not install it correctly

What steps will reproduce the problem?
1. Selected nefarious_feature 0.0.12a from the update site

What is the expected output? What do you see instead?

java.io.FileNotFoundException: 
http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/features/nefarious
_feature_0.0.12.a.jar
at 
org.eclipse.equinox.internal.p2.repository.RepositoryStatusHelper.checkFileNotFo
und(RepositoryStatusHelper.java:289)
at 
org.eclipse.equinox.internal.p2.repository.FileReader.checkException(FileReader.
java:352)
at 
org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileRe
ader.java:326)
at 
org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:2
63)
at 
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(Reposito
ryTransport.java:71)
at 
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(Reposito
ryTransport.java:127)
at 
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactReposit
ory.downloadArtifact(SimpleArtifactRepository.java:468)
at 
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactReposit
ory.downloadArtifact(SimpleArtifactRepository.java:451)
at 
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactReposit
ory.getArtifact(SimpleArtifactRepository.java:518)
at 
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(Mi
rrorRequest.java:200)
at 
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle
(MirrorRequest.java:175)
at 
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(Mirro
rRequest.java:159)
at 
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(Mirror
Request.java:95)
at 
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactReposit
ory.getArtifact(SimpleArtifactRepository.java:507)
at 
org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(Downl
oadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 11:21

Source menu is in the wrong location

The Source menu is currently located to te left of the Window menu (on the far 
right of the menu bar). For most other Eclipse tools (JDT, JSDT, ...) it's 
located just to the right of the Edit menu. When switching back and forth from 
Java to Go code, it's annoying to have the Source menu move around.

Original issue reported on code.google.com by [email protected] on 8 May 2011 at 2:38

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.