论坛首页 综合技术论坛

ErlyBird - Erlang IDE based on NetBeans - 最新版本 0.15.0

浏览 39418 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-03-26  
正在开发中的NetBeans 6.0新近增加了一个模块叫GLF(Generic Language Framework),俺在这个基础上写了一个Erlang的编辑器模块,项目名称叫ErlyBird,目前支持的功能有:


    语法检查;
    语法高亮;
    代码折叠;
    函数导航(在Navigator窗口中);
    缩进


附件中解压后有两个NetBeans的nbm文件,从Tools->Update Center中选Install Manually Downloaded Modules(.nbm Files),将这两个文件添加进去,重新启动NetBeans。(要求NetBeans 6.0 M7以上)

因为GLF还不稳定,所以目前的版本仅提供编译后的文件供测试。待稳定后将正式发布源码。


  • 大小: 89.3 KB
   发表时间:2007-03-27  
语法定义文件Erlang.nbs等部分代码已经放到项目网站的SVN:
http://sourceforge.net/projects/erlybird


0 请登录后投票
   发表时间:2007-03-28  
ErlyBird 0.10.1 发布。

修订了一些小Bug;
新增了内置函数的自动补齐功能。

如果你没有安装Generic Language Framework模块,请到Update Center下载安装。
0 请登录后投票
   发表时间:2007-03-28  
不知道怎么样,不过 netbeans的那个python的编辑器,真是不好用,功能也不行.
0 请登录后投票
   发表时间:2007-03-28  
奇怪了,add module之后,到Select module to install这步,显示不了可安装的erlang module

===============

原来之前安装的版本号是2.xx。。。。卸载后可以安装了
0 请登录后投票
   发表时间:2007-03-28  
汗,自动补齐的快捷键是啥。。。
0 请登录后投票
   发表时间:2007-03-28  
Arbow 写道
汗,自动补齐的快捷键是啥。。。

Ctrl + space 或 自己去Tools->Options->Keymap定义。
0 请登录后投票
   发表时间:2007-03-28  
汗,一按就抛异常

引用
java.lang.reflect.InvocationTargetException
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.netbeans.modules.languages.Feature$Method.evaluate(Feature.java:430)
at org.netbeans.modules.languages.Feature$Method.evaluate(Feature.java:381)
at org.netbeans.modules.languages.Feature.getValue(Feature.java:218)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.addTags(CompletionProviderImpl.java:240)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.compute(CompletionProviderImpl.java:173)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.compute(CompletionProviderImpl.java:129)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.query(CompletionProviderImpl.java:87)
at org.netbeans.modules.editor.completion.CompletionImpl.queryResultSets(CompletionImpl.java:1330)
at org.netbeans.modules.editor.completion.CompletionImpl.completionQuery(CompletionImpl.java:548)
at org.netbeans.modules.editor.completion.CompletionImpl.showCompletion(CompletionImpl.java:671)
at org.netbeans.modules.editor.completion.CompletionImpl.access$2100(CompletionImpl.java:71)
at org.netbeans.modules.editor.completion.CompletionImpl$CompletionShowAction.actionPerformed(CompletionImpl.java:1250)
at org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:486)
at org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:316)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:233)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:232)
at java.awt.Component.processKeyEvent(Component.java:5996)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2794)
at java.awt.Component.processEvent(Component.java:5815)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
at java.awt.Component.dispatchEventImpl(Component.java:4282)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NoSuchMethodError: org.netbeans.api.languages.support.CompletionSupport.createCompletionItem(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Lorg/netbeans/spi/editor/completion/CompletionItem;
at org.netbeans.modules.languages.erlang.Erlang.getFromLibrary(Erlang.java:327)
at org.netbeans.modules.languages.erlang.Erlang.completionItems(Erlang.java:290)
... 44 more
0 请登录后投票
   发表时间:2007-03-28  
Arbow 写道
汗,一按就抛异常

引用
java.lang.reflect.InvocationTargetException
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.netbeans.modules.languages.Feature$Method.evaluate(Feature.java:430)
at org.netbeans.modules.languages.Feature$Method.evaluate(Feature.java:381)
at org.netbeans.modules.languages.Feature.getValue(Feature.java:218)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.addTags(CompletionProviderImpl.java:240)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.compute(CompletionProviderImpl.java:173)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.compute(CompletionProviderImpl.java:129)
at org.netbeans.modules.languages.features.CompletionProviderImpl$CompletionTaskImpl.query(CompletionProviderImpl.java:87)
at org.netbeans.modules.editor.completion.CompletionImpl.queryResultSets(CompletionImpl.java:1330)
at org.netbeans.modules.editor.completion.CompletionImpl.completionQuery(CompletionImpl.java:548)
at org.netbeans.modules.editor.completion.CompletionImpl.showCompletion(CompletionImpl.java:671)
at org.netbeans.modules.editor.completion.CompletionImpl.access$2100(CompletionImpl.java:71)
at org.netbeans.modules.editor.completion.CompletionImpl$CompletionShowAction.actionPerformed(CompletionImpl.java:1250)
at org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:486)
at org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:316)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:233)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:232)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:232)
at java.awt.Component.processKeyEvent(Component.java:5996)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2794)
at java.awt.Component.processEvent(Component.java:5815)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
at java.awt.Component.dispatchEventImpl(Component.java:4282)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NoSuchMethodError: org.netbeans.api.languages.support.CompletionSupport.createCompletionItem(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Lorg/netbeans/spi/editor/completion/CompletionItem;
at org.netbeans.modules.languages.erlang.Erlang.getFromLibrary(Erlang.java:327)
at org.netbeans.modules.languages.erlang.Erlang.completionItems(Erlang.java:290)
... 44 more


怎么会这样子呢?去Update Center更新Generic Language Framework
0 请登录后投票
   发表时间:2007-03-29  
更新了最新的Generic Language Framework,还是不行,无语。。
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics