Tuesday, October 10, 2006

Google Code Search updates to v1.0.1

New features: Added supports for C and C++

You can find out more here.

I'm considering new feature for v1.1. Google Code Search should support to find source code at caret for specified language (depends on type of file which is opening in editor) when user presses a shortcut key (example: Ctrl + Alt + G). Seems I need to create another action for this feature.

What do you think about this? Any suggestion and feedback are welcome :-)

Update: I'm not familiar with Ruby and Python. Seems Ruby source code only has RB extension, and for Python is PY. Are there any more extensions for these languages? Thanks

2 comments:

Alexey Efimov said...

Hi, here is error when i'm try to open Tools menu in Demetra build 5766:
[ 43563] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(430,31),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on frame0
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:72)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:68)
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:49)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:409)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:233)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:208)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:227)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:48)
at com.intellij.openapi.actionSystem.impl.ActionMenu.f(ActionMenu.java:39)
at com.intellij.openapi.actionSystem.impl.ActionMenu.access$400(ActionMenu.java:40)
at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.menuSelected(ActionMenu.java:5)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1091)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1184)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:280)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1251)
at com.intellij.openapi.actionSystem.impl.ActionMenu.menuSelectionChanged(ActionMenu.java:31)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:89)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:446)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:103)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:125)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:189)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[ 44391] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0 Build #5766
[ 44391] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_08
[ 44391] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
[ 44391] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
[ 44391] ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP

t800t8 said...

Thanks Alex. Seems this bug happens because I compile by JDK 6. I will fix it soon :-)