netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Added a keymap for VS Code

Open rothardo opened this issue 6 months ago • 3 comments

Description:

This is a draft pull request designed to facilitate the migration of keybindings from VSCode to NetBeans, aiming to ensure a smooth transition for users without altering their familiar keybinding setup.

Fixes the Issue

Add a keymap for VS Code #6458

Changes:

  • Mapped VSCode Keybindings: Replaced the keybinding file names and actions from VSCode with their corresponding NetBeans equivalents.
  • Preserved Functionality: Maintained the original functionality of keybindings to provide a seamless transition.

Current Status:

  • Partial Functionality: While several keybindings have been successfully mapped, only a few are currently working as intended. For example, the A-F1.shadow file is mapped to the VSCode equivalent action, but issues remain in accurately mapping actions such as Actions/Window/org-netbeans-core-windows-actions-SwitchToRecentDocumentAction.instance.

Next Steps:

  • Action Mapping: I am still working on identifying and mapping the correct actions from the stringvalue attribute in NetBeans to ensure complete functionality.
  • Request for Assistance: I would appreciate any guidance or suggestions on navigating through this process. Additionally, I am exploring alternative approaches to achieve the desired results.

Objective:

Enable users migrating from VSCode to NetBeans to retain their existing keybindings and workflows effectively.

Attachments:

  • Screenshot of the updated NetBeans keymap reflecting the VSCode keybindings. Screenshot (543)

By opening this pull request you confirm that, unless explicitly stated otherwise:

  • The changes are all your own work, and you have the right to contribute them.
    Yes
  • The contributions are made solely under the terms and conditions of the Apache License 2.0 (see section 5 of the license for more information).
    Yes

rothardo avatar Aug 17 '24 15:08 rothardo