kasecato / vscode-intellij-idea-keybindings

Port of IntelliJ IDEA key bindings for VS Code.
https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings
MIT License
813 stars 135 forks source link

cannot load IntelliJ Keymap file #309

Closed Ray-Eldath closed 3 months ago

Ray-Eldath commented 10 months ago

this file is directly exported from JetBrains Gateway:

$ bat IntelliJ-IDEA-Classic_copy.xml
<keymap version="1" name="IntelliJ IDEA Classic copy" parent="Mac OS X">
  <action id="ActivateBookmarksToolWindow" />
  <action id="ActivateProjectToolWindow" />
  <action id="ActivateTerminalToolWindow">
    <keyboard-shortcut first-keystroke="alt f12" />
    <keyboard-shortcut first-keystroke="shift ctrl back_quote" />
  </action>
  <action id="Back">
    <keyboard-shortcut first-keystroke="meta alt left" />
    <mouse-shortcut keystroke="button4" />
    <keyboard-shortcut first-keystroke="meta 1" />
  </action>
  <action id="Build" />
  <action id="CompileDirty" />
  <action id="Diff.FocusOppositePane" />
  <action id="FileChooser.GotoProject" />
  <action id="Forward">
    <keyboard-shortcut first-keystroke="meta alt right" />
    <mouse-shortcut keystroke="button5" />
    <keyboard-shortcut first-keystroke="meta 2" />
  </action>
  <action id="NextTab">
    <keyboard-shortcut first-keystroke="ctrl right" />
    <keyboard-shortcut first-keystroke="ctrl tab" />
  </action>
  <action id="PreviousTab">
    <keyboard-shortcut first-keystroke="ctrl left" />
    <keyboard-shortcut first-keystroke="shift ctrl tab" />
  </action>
  <action id="RedesignedRunConfigurationSelector">
    <keyboard-shortcut first-keystroke="shift meta r" />
  </action>
  <action id="ShowIntentionActions">
    <keyboard-shortcut first-keystroke="alt enter" />
    <keyboard-shortcut first-keystroke="ctrl enter" />
  </action>
  <action id="Switcher" />
  <action id="ToggleLineBreakpoint" />
  <action id="XDebugger.MuteBreakpoints">
    <keyboard-shortcut first-keystroke="meta f9" />
  </action>
</keymap>

but the plugin keeps pops up "Cannot load this IntelliJ IDEA Keymap file. Plesase check the file format."

I'm using the latest JetBrains Getway on macOS and trying to import its keymap into a VSCode SSH Remote.

Ray-Eldath commented 10 months ago

I now thinks this have nothing to do with my custom keymap. Use Import Default can lead to the exact same error... this may relates to #308

kasecato commented 9 months ago

@Ray-Eldath Thanks for your reporting, please check v1.5.11