Search code examples
eclipsevimeclipse-pluginautohotkeycontent-assist

Line up/down key mapping not working in Eclipse with Vrapper XML intellisense


I am using Eclipse Mars with Vrapper. I have mapped Line Up to ctrl+p and Line Down to to ctrl+n to select intellisense list item without using up and down arrows. This allows me use to intellisense without leaving main keyboard.

This works great for Java source but it is not working for xml file. ctrl+p and ctrl+n just doesn't focus on content assist window. Is there anything I can do to fix this?


Solution

  • I didn't find solution for this but found a work around using Autohotkey. Please find the script below

    
        ;Eclipse Vrapper with intellisense
        #If WinActive("ahk_class SWT_Window0") or WinActive("ahk_class #32770")
        ^n::
            Send,{Down}
        return
        ^p::
            Send, {Up}
        return
        #If