Code Monkey home page Code Monkey logo

go-lang-idea-plugin's People

Contributors

aagahi avatar auduchinok avatar azhidkov avatar daniellowtw avatar deadok22 avatar dlsniper avatar emilgpa avatar frogprog avatar horkhe avatar ignatov avatar ilinum avatar jakecoffman avatar jessonchan avatar jhsx avatar linniksa avatar m0sth8 avatar matklad avatar mtoader avatar nerdalert avatar nisckis avatar ovr avatar patflynn avatar rillig avatar sejoharp avatar sjamesr avatar stuartcarnie avatar wbars avatar zolotov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-lang-idea-plugin's Issues

java.lang.NoSuchMethodError when trying to edit run configuration

I'm using IntelliJ 10.0.2, build 103.72. (I hacked the plugin maxbuild from 100 to 103, so maybe this version of intelliJ isn't supported yet).

Edit Run/Debug Configurations
Click "+" to add, then "Go Application", then IntelliJ reports the following exception:

Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(53,138),absolute(506,333),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on ###overrideRedirect###: com.intellij.execution.RunConfigurationExtension.writeSettings(Lcom/intellij/execution/configurations/ModuleBasedConfiguration;Lorg/jdom/Element;)V
java.lang.NoSuchMethodError: com.intellij.execution.RunConfigurationExtension.writeSettings(Lcom/intellij/execution/configurations/ModuleBasedConfiguration;Lorg/jdom/Element;)V
at ro.redeul.google.go.runner.GoApplicationConfiguration.writeExternal(GoApplicationConfiguration.java:76)
at com.intellij.execution.configurations.ModuleBasedConfiguration.clone(ModuleBasedConfiguration.java:82)
at com.intellij.execution.configurations.ModuleBasedConfiguration.clone(ModuleBasedConfiguration.java:36)
at com.intellij.execution.configurations.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:40)
at com.intellij.execution.impl.RunManagerImpl.doCreateConfiguration(RunManagerImpl.java:128)
at com.intellij.execution.impl.RunManagerImpl.createConfiguration(RunManagerImpl.java:124)
at com.intellij.execution.impl.RunConfigurable.a(RunConfigurable.java:749)
at com.intellij.execution.impl.RunConfigurable.access$1700(RunConfigurable.java:64)
at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$2.onChosen(RunConfigurable.java:800)
at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$2.onChosen(RunConfigurable.java:773)
at com.intellij.ui.popup.list.ListPopupImpl.a(ListPopupImpl.java:314)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:284)
at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mousePressed(ListPopupImpl.java:380)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
at java.awt.Component.processMouseEvent(Component.java:6264)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:501)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:675)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:412)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1175)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1160)
at com.intellij.execution.actions.EditRunConfigurationsAction.actionPerformed(EditRunConfigurationsAction.java:39)
at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java:503)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:486)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:475)
at com.intellij.openapi.wm.impl.FocusManagerImpl.d(FocusManagerImpl.java:459)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:50)
at com.intellij.openapi.wm.impl.FocusManagerImpl$1.runEdt(FocusManagerImpl.java:78)
at com.intellij.openapi.util.EdtRunnable$1.run(EdtRunnable.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Error on code completion

I just started to try out the go plugin and opened an example code from the google appengine go tutorial. I just added added a new line within a function, typed in "da" and pressed ctrl+space and got the following exception:


No ID found for serializer type.name (ro.redeul.google.go.lang.psi.stubs.elements.GoTypeNameDeclarationType): No ID found for serializer type.name (ro.redeul.google.go.lang.psi.stubs.elements.GoTypeNameDeclarationType)
java.lang.AssertionError: No ID found for serializer type.name (ro.redeul.google.go.lang.psi.stubs.elements.GoTypeNameDeclarationType)
    at com.intellij.psi.stubs.SerializationManagerImpl.getClassId(SerializationManagerImpl.java:225)
    at com.intellij.psi.stubs.SerializationManagerImpl.doSerialize(SerializationManagerImpl.java:172)
    at com.intellij.psi.stubs.SerializationManagerImpl.doSerialize(SerializationManagerImpl.java:178)
    at com.intellij.psi.stubs.SerializationManagerImpl.serialize(SerializationManagerImpl.java:164)
    at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:125)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:754)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:119)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:114)
    at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
    at com.intellij.util.indexing.FileBasedIndex$18.run(FileBasedIndex.java:1205)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:139)
    at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1183)
    at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1089)
    at com.intellij.util.indexing.FileBasedIndex.ensureUpToDate(FileBasedIndex.java:729)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:174)
    at ro.redeul.google.go.lang.stubs.GoNamesCache.getFilesByPackageName(GoNamesCache.java:106)
    at ro.redeul.google.go.lang.psi.impl.toplevel.GoImportDeclarationImpl.processDeclarations(GoImportDeclarationImpl.java:82)
    at ro.redeul.google.go.lang.psi.impl.toplevel.GoImportDeclarationsImpl.processDeclarations(GoImportDeclarationsImpl.java:40)
    at ro.redeul.google.go.lang.psi.impl.GoFileImpl.processDeclarations(GoFileImpl.java:143)
    at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUtil.java:68)
    at ro.redeul.google.go.lang.psi.impl.expressions.literals.GoIdentifierImpl.getVariants(GoIdentifierImpl.java:120)
    at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:312)
    at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:189)
    at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:112)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor$2.consume(LegacyCompletionContributor.java:80)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor$2.consume(LegacyCompletionContributor.java:77)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor.a(LegacyCompletionContributor.java:123)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor.processReferences(LegacyCompletionContributor.java:109)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor.completeReference(LegacyCompletionContributor.java:77)
    at com.intellij.codeInsight.completion.LegacyCompletionContributor$1.addCompletions(LegacyCompletionContributor.java:57)
    at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36)
    at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:156)
    at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:82)
    at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:94)
    at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:87)
    at com.intellij.codeInsight.completion.RelaxedMatchingContributor.fillCompletionVariants(RelaxedMatchingContributor.java:36)
    at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:82)
    at com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:113)
    at com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2$1$1.run(CodeCompletionHandlerBase.java:290)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:767)
    at com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2$1.run(CodeCompletionHandlerBase.java:282)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:181)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:172)
    at com.intellij.codeInsight.completion.CodeCompletionHandlerBase$2.run(CodeCompletionHandlerBase.java:278)
    at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

I am using a recent go SDK, the newest public version of the plugin (downloaded it a few minutes ago) and IDEA 10.5 ultimate.

parsing compiler output

Right now the compiler will not parse the output and as a result you can't go directly from the error line to the position of the error in the file.

Parser memory leak

Parser has a memory leak when handling revision 6745 parsing gob/types.go produces the following stack:

[ 444641] ERROR - api.project.CacheUpdateSession - Last Action:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.intellij.psi.tree.TokenSet.(TokenSet.java:24)
at com.intellij.psi.tree.TokenSet.create(TokenSet.java:57)
at ro.redeul.google.go.lang.parser.parsing.declarations.VarDeclaration.parseVarSpecification(VarDeclaration.java:79)
at ro.redeul.google.go.lang.parser.parsing.declarations.VarDeclaration.parse(VarDeclaration.java:33)
at ro.redeul.google.go.lang.parser.parsing.declarations.Declaration.parse(Declaration.java:24)
at ro.redeul.google.go.lang.parser.GoParser.parseTopLevelDeclaration(GoParser.java:68)
at ro.redeul.google.go.lang.parser.GoParser.parseTopLevelDeclarations(GoParser.java:50)
at ro.redeul.google.go.lang.parser.parsing.toplevel.CompilationUnit.parse(CompilationUnit.java:32)
at ro.redeul.google.go.lang.parser.GoParser.parse(GoParser.java:35)
at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
at com.intellij.psi.impl.source.tree.LazyParseableElement.b(LazyParseableElement.java:158)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:177)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:29)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:44)
at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:683)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:34)
at com.intellij.psi.stubs.StubUpdatingIndex.buildStubTree(StubUpdatingIndex.java:146)
at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:113)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:697)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:111)
at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:106)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$21.run(FileBasedIndex.java:1330)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:135)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1327)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1293)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:53)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:92)
at com.intellij.openapi.project.CacheUpdateRunner$3$1.run(CacheUpdateRunner.java:151)
at com.intellij.openapi.project.CacheUpdateRunner$3.run(CacheUpdateRunner.java:158)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)

I've given it up to 6G RAM and 1G perm gen which is far more than should be necessary. Pretty much useless as is and the project can't even open.

Proper GoIde branding for the Intellij Platform

  • Override the ApplicationInfo.xml, Plugin.xml and Actions.xml from the Intellij Platform release.
  • Pack the images and overriden application descriptors to a resources_goide.jar and bundle that with the goide.
  • Make sure we aren't bundling useless plugins from the platform sdk.
  • rename (or provide new) the running scripts
  • add proper idea.vmoptions, idea.properties when bundiling the goide.

NPE when selecting a function from an unknown package

By selecting I mean e.g. clicking on the function name in the code or moving the cursor to the name or triggering some action on it (e.q. ctrl+q for documentation).

To reproduce you can use the following code:
https://code.google.com/appengine/docs/go/gettingstarted/usingdatastore.html

Just click on "NewQuery" in line 25.

[ 852049]  ERROR - aemon.impl.PassExecutorService - null 
java.lang.NullPointerException
    at com.intellij.psi.impl.SharedPsiElementImplUtil.a(SharedPsiElementImplUtil.java:73)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:63)
    at com.intellij.extapi.psi.PsiElementBase.findReferenceAt(PsiElementBase.java:122)
    at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:369)
    at com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:338)
    at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:520)
    at com.intellij.codeInsight.intention.impl.ConvertAbsolutePathToRelativeIntentionAction.isAvailable(ConvertAbsolutePathToRelativeIntentionAction.java:46)
    at com.intellij.codeInsight.intention.PsiElementBaseIntentionAction.isAvailable(PsiElementBaseIntentionAction.java:49)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:104)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:95)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:202)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:129)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:201)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:152)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:127)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
[ 852049]  ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 10.5.1  Build #IU-107.322 
[ 852049]  ERROR - aemon.impl.PassExecutorService - JDK: 1.6.0_26 
[ 852049]  ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM 
[ 852049]  ERROR - aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc. 
[ 852049]  ERROR - aemon.impl.PassExecutorService - OS: Linux 
[ 852049]  ERROR - aemon.impl.PassExecutorService - Last Action: EditorDown 
[ 852050]  ERROR - aemon.impl.PassExecutorService - null 
java.lang.NullPointerException
    at com.intellij.psi.impl.SharedPsiElementImplUtil.a(SharedPsiElementImplUtil.java:73)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:63)
    at com.intellij.extapi.psi.PsiElementBase.findReferenceAt(PsiElementBase.java:122)
    at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:369)
    at com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:338)
    at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:520)
    at com.intellij.codeInsight.intention.impl.ConvertAbsolutePathToRelativeIntentionAction.isAvailable(ConvertAbsolutePathToRelativeIntentionAction.java:46)
    at com.intellij.codeInsight.intention.PsiElementBaseIntentionAction.isAvailable(PsiElementBaseIntentionAction.java:49)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:104)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:95)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:202)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:129)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:201)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:152)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:127)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
[ 852050]  ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 10.5.1  Build #IU-107.322 
[ 852050]  ERROR - aemon.impl.PassExecutorService - JDK: 1.6.0_26 
[ 852050]  ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) 64-Bit Server VM 
[ 852050]  ERROR - aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc. 
[ 852050]  ERROR - aemon.impl.PassExecutorService - OS: Linux 
[ 852050]  ERROR - aemon.impl.PassExecutorService - Last Action: EditorDown 
[ 852050]  ERROR - currency.PrioritizedFutureTask - java.lang.NullPointerException 
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
    at com.intellij.psi.impl.SharedPsiElementImplUtil.a(SharedPsiElementImplUtil.java:73)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:63)
    at com.intellij.extapi.psi.PsiElementBase.findReferenceAt(PsiElementBase.java:122)
    at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:369)
    at com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:338)
    at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:520)
    at com.intellij.codeInsight.intention.impl.ConvertAbsolutePathToRelativeIntentionAction.isAvailable(ConvertAbsolutePathToRelativeIntentionAction.java:46)
    at com.intellij.codeInsight.intention.PsiElementBaseIntentionAction.isAvailable(PsiElementBaseIntentionAction.java:49)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:104)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:95)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:202)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:129)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:201)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:152)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:127)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    ... 4 more
[ 852050]  ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA 10.5.1  Build #IU-107.322 
[ 852050]  ERROR - currency.PrioritizedFutureTask - JDK: 1.6.0_26 
[ 852050]  ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) 64-Bit Server VM 
[ 852050]  ERROR - currency.PrioritizedFutureTask - Vendor: Sun Microsystems Inc. 
[ 852051]  ERROR - currency.PrioritizedFutureTask - OS: Linux 
[ 852051]  ERROR - currency.PrioritizedFutureTask - Last Action: EditorDown 
[ 852051]  ERROR - currency.PrioritizedFutureTask - Original exception:  
java.lang.NullPointerException
    at com.intellij.psi.impl.SharedPsiElementImplUtil.a(SharedPsiElementImplUtil.java:73)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
    at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:63)
    at com.intellij.extapi.psi.PsiElementBase.findReferenceAt(PsiElementBase.java:122)
    at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:369)
    at com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:338)
    at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:520)
    at com.intellij.codeInsight.intention.impl.ConvertAbsolutePathToRelativeIntentionAction.isAvailable(ConvertAbsolutePathToRelativeIntentionAction.java:46)
    at com.intellij.codeInsight.intention.PsiElementBaseIntentionAction.isAvailable(PsiElementBaseIntentionAction.java:49)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:104)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:95)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:204)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass$1.process(ShowIntentionsPass.java:202)
    at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:129)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:201)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:152)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:127)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1013)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

Streamline the GoIde

  • Make sure we aren't bundling useless plugins from the platform sdk.
  • rename (or provide new) the running scripts
  • remove unnecessary wizards

Autocomplete not working on Mac OS X 10.6.6

I followed the tutorial linked in the Readme. I managed to get programs running. Code is colored nicely.

The autocomplete shows up with no suggestions in both library and local methods.

Go module type

We need to implement go module types to model the idea of go package.

Error when attempting to add new run configuration

Hi,

When I try to "Edit configuration" to add a new "Go Application" run configuration it will not pick up the "Go Application" option and it gives the message below in the console, I am using intellij idea 10.0.1 IU-99.32 ultimate edition.

Cheers, Rien

[  38492]  ERROR - e.CoverageEnabledConfiguration - Assertion failed: Coverage enabled run configuration wasn't found for run configuration: Go application, type = ro.redeul.google.go.runner.GoApplicationConfiguration 
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:92)
at com.intellij.execution.configurations.coverage.CoverageEnabledConfiguration.getOrCreate(CoverageEnabledConfiguration.java:147)
at com.intellij.execution.configurations.coverage.JavaCoverageEnabledConfiguration.getFrom(JavaCoverageEnabledConfiguration.java:66)
at com.intellij.execution.coverage.CoverageJavaRunConfigurationExtension.isApplicableFor(CoverageJavaRunConfigurationExtension.java:134)
at com.intellij.execution.coverage.CoverageJavaRunConfigurationExtension.writeExternal(CoverageJavaRunConfigurationExtension.java:92)
at com.intellij.execution.RunConfigurationExtension.writeSettings(RunConfigurationExtension.java:121)
at ro.redeul.google.go.runner.GoApplicationConfiguration.writeExternal(GoApplicationConfiguration.java:76)
at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.writeExternal(RunnerAndConfigurationSettingsImpl.java:216)
at com.intellij.execution.impl.RunManagerImpl.a(RunManagerImpl.java:411)
at com.intellij.execution.impl.RunManagerImpl.addConfigurationElement(RunManagerImpl.java:404)
at com.intellij.execution.impl.RunManagerImpl.writeExternal(RunManagerImpl.java:362)
at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:52)
at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setStateInOldStorage(StateStorageManagerImpl.java:469)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:172)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:49)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:496)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:118)
at com.intellij.openapi.components.impl.stores.ProjectWithModulesStoreImpl.startSave(ProjectWithModulesStoreImpl.java:36)
at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:701)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:284)
at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:1146)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.doOKAction(SingleConfigurableEditor.java:125)
at com.intellij.execution.impl.EditConfigurationsDialog.doOKAction(EditConfigurationsDialog.java:37)
at com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1212)
at com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1189)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:501)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:670)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:412)
at com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1063)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1048)
at com.intellij.execution.actions.ChooseRunConfigurationAction$ConfigurationListPopupStep$1.perform(ChooseRunConfigurationAction.java:495)
at com.intellij.execution.actions.ChooseRunConfigurationAction$ConfigurationListPopupStep$5.run(ChooseRunConfigurationAction.java:672)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:486)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:475)
at com.intellij.openapi.wm.impl.FocusManagerImpl.d(FocusManagerImpl.java:459)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:50)
at com.intellij.openapi.wm.impl.FocusManagerImpl$1.runEdt(FocusManagerImpl.java:78)
at com.intellij.openapi.util.EdtRunnable$1.run(EdtRunnable.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[  38496]  ERROR - e.CoverageEnabledConfiguration - IntelliJ IDEA 10.0.1  Build #IU-99.32 
[  38496]  ERROR - e.CoverageEnabledConfiguration - JDK: 1.6.0_23 
[  38496]  ERROR - e.CoverageEnabledConfiguration - VM: Java HotSpot(TM) 64-Bit Server VM 
[  38496]  ERROR - e.CoverageEnabledConfiguration - Vendor: Sun Microsystems Inc. 
[  38496]  ERROR - e.CoverageEnabledConfiguration - OS: Linux 

Hide *.6 files

Using godag in the default configuration generates the .6 files within the source directories. As they are of no interest for the programmer they could be hidden.

Makefile based build system

The current build system is ok for small project with a very definitive structure but it's probably inadequate for a full on go project. We should be able to change the build system to a Makefile based on (with the same structure as the go sdk).

This should be selectable via a configuration option at the project / module level.

Initially is should just dump/maintain a default Makefile if there is no file (or the existing one isn't updated by the user) in one folder. In a second step we should be able to parse/update the Makefiles on the go.

We should be able to add an "install" option for local packages with such a build system.

Darwin packages for 1.0

Built packages using the same build process as the linux packages (update package_darwin to use the package_linux.sh somehow).

invalid go sdk folder

I tried choosing the go sdk folder but it keeps telling me 'The selected directory is not a valid home for Go SDK'.

I tried my $GOROOT, my $GOBIN. I even copied my $GOBIN into $GOROOT maybe it wants the bin folder inside the Go SDK home but still brings out same error message.

I use IntelliJ Idea 9.0.2
Ubuntu 10.04
latest go version

Thanks.

Code suggestions not working..

package main

import "fmt"

func main() {
fmt. <-- not suggesting anything
}

Not sure what else to tell you, I'm running IntelliJ 10.5 Community edition. Go SDK: Go (6g version release.r57.1 8294)

IDEA 10.0.3 compatibility missing

The plugin descriptor has the max build set to 100 and IntelliJ won't let it run unless the max version is either set higher in the descriptor. I'm running successfully (or so it seems so far) with a compiled version with max-version attribute removed. Without max-version, the default becomes "it works unless it's broken" for future builds.

Auto-complete suggestion list is incomplete

Hi again. This one's not as urgent as my last, so feel free to take the whole weekend off. :)

Here's my sample method:

func main() {
greeting := "world!"
if len(os.Args) > 0 {
greeting = strings.Join(os.Args[1:], " ")
}

If I ask for completion suggestions from "os" by deleting "Args" and then hitting CTRL+SPACE, the suggestion list pops up, but it's missing everything before os.Chdir. All the A's and B's are missing (e.g. "Args").

Path missing separator when running HelloWorld

Hello.

I'm trying to run HelloWorld from the tutorial and I'm receiving the following error:

Error running Hello World: Cannot run program "/Users/jblackburn/goprojects/gotutorial/out/production/gotutorial/go-bins/hellohello_world" (in directory "/Users/jblackburn/IdeaProjects/gotutorial"): error=2, No such file or directory

It seems obviousl to me that the missing separator between "hello" and "hello_world" is the problem, but I can't figure out how to fix it.

I'm using the latest distribution of the plugin and running on MacOS X 10.6.7.

Am I doing something wrong, or is there a configuration I've gotten wrong somewhere? If you need more information please contact me at me at jonathanblackburn.net or the email address associated with my github account.

Thanks,
Jon Blackburn

Missing New Line in *.go files

If a *.go file do not end with a new line, it cannot be compiled. A new line should be automatically appended to every *.go file.

Wrong indents. Again.

For now - 4 spaces only in top-level. For example:

|import "./pkg/a"<-[Enter]
|    ^<-[Actual behaviour]
|^<-[Expected behaviour]

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.