nbscala-2.9.x-0.9 - plugin detailNetBeans plugin for Scala-2.9.x preview
[ You have to be logged in to be able to comment. ] User CommentsURLs for project home and binaries
Found the following:
new project home binary builds
Posted by mrtwice99 on Dec 09, 2011
Project moved to java.net/projects/nbscala?
I built the plugin from source following instructions in the wiki at the new project home and it's working for me in NB 7.0.1 with scala-2.8.
http://java.net/projects/nbscala However, I built the nbm awhile ago -- I haven't built/tried the 2.9 version yet.
Posted by jozart on Sep 03, 2011
Opened scala project does not show in project window
As it says. NB 7.0.1, $SCALA_HOME points to 2.9.0.1. Has anyone else seen this behaviour?
Posted by pbw on Sep 03, 2011
Confusion over scala platforms
When I add scala platforms to NB 7.0.1, I find that the default platform is marked 1.1, and includes the scala-library.jar from the scala installation indicated by my $SCALA_HOME variable.
I have 2.8.1.final and 2.9.0.1, with 2.9 pointed to by the variable. I cannot change the default. Is there any documentation about this? Thanks
Posted by pbw on Sep 02, 2011
use Maven project is a better solution than "create a scala project"
No idea whether it is my problem only, that if use this plugin to create a scala project from menu, JIT is very easy to crash and then netbeans suddently unable to recognize all scala code at all. The only solution in such case is to restart netbeans. But if use maven to create the project(with scala lib/tool configured in pom), this problem never come out.
Posted by jeff2033333 on May 30, 2011
Same issues when adding platform
I've got the same issues with MissingResourceException when trying to add Scala platform.
Posted by mco on May 29, 2011
Works OK
Thanks for your continued work on this Caoyuan. This works fine for me. I very much like the way the editor doesn't mark your whole line as an error before you've finished typing it, as it does in Java.
However 1) I get a warning every time I run a program, even a simple "Hello World": warning: there were 1 deprecation warnings; re-run with -deprecation for details I don't get this when running the class from the command line. Hopefully this is a quick fix you can do for the official release. 2) Javadoc displayed with code completion is broken - the text does not display correctly. Would be a big help to implement scaladoc support as well (it's a forthcoming feature on Eclipse and IntelliJ has it already). 3) Error highlighting sometimes just stops working, so errors might not get noticed and the build fails. Only way I've found to get it to work again is to restart NetBeans. 4) Not being able to use Scala classes / objects in existing Java projects is a bit off-putting. You can do this on both Eclipse and IntelliJ, although I understand it's not something that's easy to implement and in not specific to the Scala editor - rather it's a problem on NetBeans for all languages.
Posted by snowjoke on May 29, 2011
Can not add the SCALA 2.9.0.1 platform
When I select the platform directory, the wizard dialog never moves to the next screen and the log shows:
SEVERE [org.openide.util.Exceptions] Offending classloader: ModuleCL@51d838d9[org.netbeans.modules.scala.stdplatform] Offending classloader: ModuleCL@51d838d9[org.netbeans.modules.scala.stdplatform] Caused: java.util.MissingResourceException: No such bundle org.netbeans.modules.scala.stdplatform.Bundle at org.openide.util.NbBundle.getBundle(NbBundle.java:451) at org.openide.util.NbBundle.getBundle(NbBundle.java:399) at org.openide.util.NbBundle.getMessage(NbBundle.java:642) at org.netbeans.modules.scala.stdplatform.J2SEInstallImpl.getDisplayName(J2SEInstallImpl.java:97) at org.netbeans.modules.scala.platform.wizard.SelectorPanel.postInitComponents(SelectorPanel.java:105) at org.netbeans.modules.scala.platform.wizard.SelectorPanel.(SelectorPanel.java:81) at org.netbeans.modules.scala.platform.wizard.SelectorPanel$Panel.getComponent(SelectorPanel.java:214) at org.netbeans.modules.scala.platform.wizard.PlatformInstallIterator.updateIterator(PlatformInstallIterator.java:294) at org.netbeans.modules.scala.platform.wizard.PlatformInstallIterator.stateChanged(PlatformInstallIterator.java:284) [catch] at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:133) at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:119) at org.netbeans.modules.scala.platform.wizard.LocationChooser.propertyChange(LocationChooser.java:149) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at java.awt.Component.firePropertyChange(Component.java:8381) at javax.swing.JFileChooser.setSelectedFile(JFileChooser.java:491) at javax.swing.JFileChooser.setSelectedFiles(JFileChooser.java:522) at org.netbeans.swing.dirchooser.DirectoryChooserUI.setSelected(DirectoryChooserUI.java:1651) at org.netbeans.swing.dirchooser.DirectoryChooserUI.access$2300(DirectoryChooserUI.java:111) at org.netbeans.swing.dirchooser.DirectoryChooserUI$DirectoryHandler.valueChanged(DirectoryChooserUI.java:2197) at javax.swing.JTree.fireValueChanged(JTree.java:2917) at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3376) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:634) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1092) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:293) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:187) at javax.swing.JTree.setSelectionPath(JTree.java:1631) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2371) at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3587) at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3526) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279) at java.awt.Component.processMouseEvent(Component.java:6501) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at org.netbeans.swing.dirchooser.DirectoryChooserUI$8.processMouseEvent(DirectoryChooserUI.java:726) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:121) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1072) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126) at org.openide.util.Mutex.doEventAccess(Mutex.java:1361) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045) at java.awt.Component.show(Component.java:1650) at java.awt.Component.setVisible(Component.java:1602) at java.awt.Window.setVisible(Window.java:1013) at java.awt.Dialog.setVisible(Dialog.java:1003) at org.netbeans.modules.scala.platform.ui.PlatformsCustomizer.addNewPlatform(PlatformsCustomizer.java:327) at org.netbeans.modules.scala.platform.ui.PlatformsCustomizer.access$000(PlatformsCustomizer.java:88) at org.netbeans.modules.scala.platform.ui.PlatformsCustomizer$1.actionPerformed(PlatformsCustomizer.java:186) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:121) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1072) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126) at org.openide.util.Mutex.doEventAccess(Mutex.java:1361) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045) at java.awt.Component.show(Component.java:1650) at java.awt.Component.setVisible(Component.java:1602) at java.awt.Window.setVisible(Window.java:1013) at java.awt.Dialog.setVisible(Dialog.java:1003) at org.netbeans.api.scala.platform.PlatformsCustomizer.showCustomizer(PlatformsCustomizer.java:72) at org.netbeans.modules.scala.platform.ui.PlatformsCustomizerAction.performAction(PlatformsCustomizerAction.java:57) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:126) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Posted by adeanva on May 27, 2011
|