[ANN] Windows Context Menu 1.0

Hello,

I'm post new plugin to repository. This plugin allow you to integrate standard Windows Explorer menu into IDEA project view/commanded popups.

This is first beta and i'm will be very hapy if someone post me any feedback :)

Enjoy!

PS. Yes, it only for Windows (it actualy used IContextMenu shell COM object) :)

14 comments
Comment actions Permalink

Awesome plugin. It takes the place of two others that I was using and offers a lot more features.

Thanks.

0
Comment actions Permalink

Great, it is very convenient for developer.
One feature reuqest: please add "Windows Explorer" to popup menu for File Editor.
Bugs for I18N and sub menu display problem, and please take a look at attachment. Thanks.



Attachment(s):
error_menu.PNG
0
Comment actions Permalink

Hello Alexey

IntelliJ EAP 6733 is completle closing after I try to open the contextmenu of a file within the "Project" pane.
Also I get a crash dump log file from the VM in intelliJ bin folder.
(I am using java 1.6)

Thanks
Henne

0
Comment actions Permalink

Thanks!
1. Yes, sure. Just forgot it.
2. For I18N it known problem. Can you please capture srenshot for this file from native Windows Explorer window? The same menu, but from Window Explorer. I'm just want to compare why sub menu is empty — i guess it also I18N problem.

BTW, I can show actualy native menu (not IDEA look), maybe i must add such option?

0
Comment actions Permalink

Hello, sorry for this bug.
Can you send here hr_err dump from IDEA bin directory and log file from ${user.home}/.IntelliJIDEA70/system/log/idea.log

Thanks!

0
Comment actions Permalink

Hello Alexey,

Is this plugin only for Selena (7.0) ?

Gilles

0
Comment actions Permalink

Yes, i always mark since-build attribute with my build of IDEA and i'm always work on latest IDEA builds. :)

So, you can try to run it on your own risk for previous builds by modifing attribute since-build in plugin.xml from this plugin jar.

Thanks!

0
Comment actions Permalink

#

  1. An unexpected error has been detected by Java Runtime Environment:

#

  1. EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x00b3ce69, pid=4768, tid=3564

#

  1. Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)

  2. Problematic frame:

  3. v ~RuntimeStub::resolve_opt_virtual_call

#

  1. If you would like to submit a bug report, please visit:

  2. http://java.sun.com/webapps/bugreport/crash.jsp

#

-


T H R E A D -



Current thread (0x3a2bf400): JavaThread "AWT-EventQueue-1"

siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x3a81f334

Registers:
EAX=0x000195c4, EBX=0x00000000, ECX=0x032b89e8, EDX=0x3457d878
ESP=0x3a81f2c8, EBP=0x3a81f3d8, ESI=0x032b89e8, EDI=0x00000010
EIP=0x00b3ce69, EFLAGS=0x00010212

Top of Stack: (sp=0x3a81f2c8)
0x3a81f2c8: ffff1372 ffff0000 ffffffff 6d8b4227
0x3a81f2d8: 0740001b 032b5f40 ffff0023 00000000
0x3a81f2e8: 80000000 00004001 00000000 00000000
0x3a81f2f8: 00000000 80000000 00004002 00000000
0x3a81f308: 3ffa8000 00000000 00000000 00000000
0x3a81f318: 00000000 00000000 00000000 c0000000
0x3a81f328: 00004004 00000000 40078080 3a2bf9f4
0x3a81f338: 3a2bf9f4 3a2bf9e4 3a2bf9e4 fffffffe

Instructions: (pc=0x00b3ce69)
0x00b3ce59: 00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c
0x00b3ce69: dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd


Stack: [0x3a7d0000,0x3a820000), sp=0x3a81f2c8, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~RuntimeStub::resolve_opt_virtual_call
J com.intellij.openapi.actionSystem.AnActionEvent.injectedId(Ljava/lang/String;)Ljava/lang/String;
j com.intellij.openapi.actionSystem.AnActionEvent$1.getData(Ljava/lang/String;)Ljava/lang/Object;+8
j com.intellij.find.actions.FindUsagesInFileAction.isEnabled(Lcom/intellij/openapi/actionSystem/DataContext;)Z+3
j com.intellij.find.actions.FindUsagesInFileAction.updateFindUsagesAction(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V+11
j com.intellij.find.actions.FindUsagesAction.update(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V+1
J com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Lcom/intellij/openapi/actionSystem/ActionGroup;Ljava/util/ArrayList;Lcom/intellij/openapi/actionSystem/impl/PresentationFactory;Lcom/intellij/openapi/actionSystem/DataContext;Ljava/lang/String;Lcom/intellij/openapi/actionSystem/ActionManager;)V
j com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Lcom/intellij/openapi/actionSystem/ActionGroup;Ljavax/swing/JComponent;Lcom/intellij/openapi/actionSystem/impl/PresentationFactory;Lcom/intellij/openapi/actionSystem/DataContext;Ljava/lang/String;)V+19
j com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(Ljava/awt/Component;II)V+85
j com.intellij.ide.projectView.impl.AbstractProjectViewPane$3.invokePopup(Ljava/awt/Component;II)V+39
j com.intellij.ui.PopupHandler.mouseReleased(Ljava/awt/event/MouseEvent;)V+20
j java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+21
j java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+8
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j com.intellij.util.ui.Tree.processMouseEvent(Ljava/awt/event/MouseEvent;)V+77
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+562
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
J java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J com.intellij.ide.IdeEventQueue.b(Ljava/awt/AWTEvent;)V
J com.intellij.ide.IdeEventQueue.a(Ljava/awt/AWTEvent;)V
J com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub


-


P R O C E S S -



Java Threads: ( => current thread )
0x3ba1a400 JavaThread "JobScheduler pool"
0x3ba89400 JavaThread "JobScheduler pool"
0x3ba1b400 JavaThread "Change List Updater"
0x3ba3f400 JavaThread "Memory mapped files disposer"
0x3b8e8800 JavaThread "UserActivityMonitor thread"
0x397f1800 JavaThread "/10.16.0.46 IDEtalk Multicast Thread"
0x397ef000 JavaThread "User Monitor Thread"
0x3b238400 JavaThread "XML-RPC Weblistener"
0x3b298800 JavaThread "Network Message Dispatcher"
0x3ac64400 JavaThread "File System Synchronize Executor"
0x3ae9b000 JavaThread "Line Tip Shower"
0x3ac21800 JavaThread "IntelliTail - FileMonitor Thread" daemon
0x3abfbc00 JavaThread "ApplicationImpl pooled thread"
0x3aeb5c00 JavaThread "Alarm pool"
0x3a56b800 JavaThread "Thread-3"
0x3a56b400 JavaThread "TimerQueue" daemon
0x3ab14000 JavaThread "Progress Cancel Checker"
0x3a494800 JavaThread "ApplicationImpl pooled thread"
0x3a494400 JavaThread "ApplicationImpl pooled thread"
0x3a482c00 JavaThread "StoreRefreshStatusThread" daemon
0x3a482000 JavaThread "WatchForChangesThread"
0x3a496800 JavaThread "File System Tracker"
=>0x3a2bf400 JavaThread "AWT-EventQueue-1"
0x3a3a6800 JavaThread "AWT-Shutdown"
0x39832400 JavaThread "timed reference disposer"
0x393b3800 JavaThread "Periodic tasks thread"
0x393b4800 JavaThread "Timer-0" daemon
0x3935ec00 JavaThread "SocketListenerThread"
0x3935e800 JavaThread "SocketListenerThread"
0x39785800 JavaThread "MessageDeliveryThread"
0x39809800 JavaThread "AWT-Windows" daemon
0x397d0800 JavaThread "Java2D Disposer" daemon
0x396d4400 JavaThread "Lock thread"
0x00296800 JavaThread "DestroyJavaVM"
0x39694000 JavaThread "timed reference disposer"
0x3938d400 JavaThread "Low Memory Detector" daemon
0x3938a400 JavaThread "CompilerThread0" daemon
0x39387400 JavaThread "Attach Listener" daemon
0x39386800 JavaThread "Signal Dispatcher" daemon
0x39377400 JavaThread "Finalizer" daemon
0x39373000 JavaThread "Reference Handler" daemon

Other Threads:
0x3936fc00 VMThread
0x39397400 WatcherThread

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 8512K, used 7827K [0x02b90000, 0x034c0000, 0x066a0000)
eden


Dynamic libraries:
0x00400000 - 0x00423000 c:\jdk1.6.0\jre\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 c:\jdk1.6.0\jre\bin\msvcr71.dll
0x6d7c0000 - 0x6da07000 c:\jdk1.6.0\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x66500000 - 0x6650a000 C:\WINDOWS\system32\wbsys.dll
0x66600000 - 0x66617000 C:\Program Files\Stardock\Object Desktop\WindowBlinds\wbhelp.dll
0x6bd00000 - 0x6bd0d000 C:\WINDOWS\system32\SYNCOR11.DLL
0x6d310000 - 0x6d318000 c:\jdk1.6.0\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 c:\jdk1.6.0\jre\bin\verify.dll
0x6d3b0000 - 0x6d3cf000 c:\jdk1.6.0\jre\bin\java.dll
0x6d7b0000 - 0x6d7bf000 c:\jdk1.6.0\jre\bin\zip.dll
0x6d570000 - 0x6d583000 C:\jdk1.6.0\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x39960000 - 0x39972000 C:\WINDOWS\system32\dcsws2.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x6d000000 - 0x6d1c3000 C:\jdk1.6.0\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x6d2b0000 - 0x6d303000 C:\jdk1.6.0\jre\bin\fontmanager.dll
0x39bd0000 - 0x39beb000 C:\WINDOWS\system32\iprepair.dll
0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x77a20000 - 0x77a74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINDOWS\System32\CSCDLL.dll
0x39d90000 - 0x39f11000 C:\Program Files\TortoiseCVS\TortoiseShell.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x7c420000 - 0x7c4a7000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCP80.dll
0x78130000 - 0x781cb000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll
0x71b20000 - 0x71b32000 C:\WINDOWS\system32\MPR.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\System32\SAMLIB.dll
0x3a0d0000 - 0x3a0d9000 C:\IntelliJ-IDEA-6733\bin\focuskiller.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x76d40000 - 0x76d58000 C:\WINDOWS\system32\MPRAPI.dll
0x77cc0000 - 0x77cf2000 C:\WINDOWS\system32\ACTIVEDS.dll
0x76e10000 - 0x76e35000 C:\WINDOWS\system32\adsldpc.dll
0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
0x76e80000 - 0x76e8e000 C:\WINDOWS\system32\rtutils.dll
0x39cd0000 - 0x39cda000 C:\Program Files\PowerStrip\pshook.dll
0x6d590000 - 0x6d599000 C:\jdk1.6.0\jre\bin\nio.dll
0x6d3e0000 - 0x6d3e6000 C:\jdk1.6.0\jre\bin\jawt.dll
0x398d0000 - 0x398dc000 C:\IntelliJ-IDEA-6733\bin\transparency.dll
0x398f0000 - 0x39910000 C:\IntelliJ-IDEA-6733\bin\FileWatcher2K.dll
0x6d1f0000 - 0x6d21f000 C:\jdk1.6.0\jre\bin\cmm.dll
0x6d450000 - 0x6d474000 C:\jdk1.6.0\jre\bin\jpeg.dll
0x6d220000 - 0x6d243000 C:\jdk1.6.0\jre\bin\dcpr.dll
0x3b6c0000 - 0x3b6f9000 C:\Documents and Settings\hnh.FERNBACH-LU\.IntelliJIdea70\system\plugins.libraries\IContextMenu_JNI..dll
0x3b710000 - 0x3b716000 C:\Program Files\Unlocker\UnlockerCOM.dll
0x3b730000 - 0x3b739000 C:\Program Files\F-Secure\Common\fpshx.dll
0x3b740000 - 0x3b756000 C:\Program Files\F-Secure\Common\FSMA32.dll
0x3b760000 - 0x3b771000 C:\Program Files\F-Secure\Common\FSPMAPI.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x73dd0000 - 0x73ece000 C:\WINDOWS\system32\MFC42.DLL
0x6c1d0000 - 0x6c1de000 C:\WINDOWS\system32\MFC42LOC.DLL
0x76f50000 - 0x76f58000 C:\WINDOWS\system32\wtsapi32.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x3b7a0000 - 0x3b7cb000 C:\Program Files\WinRAR\rarext.dll
0x3b7d0000 - 0x3b7df000 C:\Program Files\WinMerge\ShellExtension.dll
0x41670000 - 0x416ef000 C:\Program Files\PowerArchiver\PASHLEXT.DLL
0x405f0000 - 0x405f6000 C:\Program Files\Notepad++\nppcm.dll

VM Arguments:
jvm_args: -Xms64m -Xmx768m -XX:MaxPermSize=99m -ea -Xbootclasspath/p:../lib/boot.jar
java_command: com.intellij.idea.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=c:\jdk1.5.0_08
PATH=..\bin;C:\ora9i\bin;C:\orant6i\bin;C:\orant\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\tools\cygwin\usr\local\wbin;c:\Program Files\GNU\WinCvs 1.3\CVSNT;c:\apache-ant-1.5.3-1\bin;c:\c:\j2sdk1.4.1_02\bin;C:\PROGRA1\ATT\Graphviz\bin;C:\PROGRA1\ATT\Graphviz\bin\tools;C:\PROGRA1\GNU\WINCVS1.3\CVSNT;C:\Program Files\JProbe Profiler 5.2.1\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\jEdit;C:\Program Files\JProbe Profiler 5.2.1\bin;C:\jdk1.5.0_06\bin;C:\orant\BIN;
USERNAME=hnh
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel



-


S Y S T E M -



OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2088392k(569428k free), swap 4187988k(2717376k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310

In idea.log is nothing.
Last line entry of idea.log is a simple log INFO from a unzip task:
2007-03-01 16:26:05,777 INFO - enapi.vfs.impl.jar.JarFileInfo - Opening zip-file C:\IntelliJ-IDEA-6733\plugins\weblogicIntegration\lib\resources_en.jar...

Greetings
Henne

0
Comment actions Permalink

Thanks!
Oh my god, can someone point now in stacktrace where is my plugin ? :))

Ok, will research this. thanks again.

0
Comment actions Permalink

Hello,

I'm just right now tried this with JDK 1.6.0 and IDEA 6773 — all fine :)

Can you please say something about C:\Program Files\WinMerge\ShellExtension.dll?

Thanks!

0
Comment actions Permalink

Hi,

Please have a look at: http://winmerge.org/

"WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms."

Greetings
Henne

0
Comment actions Permalink

Just a note: Last time I looked, I liked kdiff3 better; even better:
IDEA ;) (of course, there are also AraxisMerge and Beyond Compare).

regards,

Messi

Henne wrote:

Hi,

Please have a look at: http://winmerge.org/

"WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms."

Greetings
Henne

0
Comment actions Permalink

Hmm... i'm just installed it and all work fine. Maybe you have something special in your system for drawinf native context menu UI?

Can you please, in Windows Explorer open some folder and show popup context menu for folder or file. And send here screenshots?

Thanks!

0
Comment actions Permalink

Here is a screenshot I made for you:

Greetings
Henne



Attachment(s):
ContextMenu.jpg
0

Please sign in to leave a comment.