Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement "Open in Opposite Group" command #337

Merged
merged 5 commits into from
Mar 31, 2024

Conversation

sfyr111
Copy link

@sfyr111 sfyr111 commented Mar 21, 2024

Summary

This PR introduces the "Open in Opposite Group" feature, which allows users to open the active editor tab in the opposite editor group with a single command. This functionality enhances navigation efficiency and aligns with similar features found in IntelliJ IDEA.

Changes

  • Added a new command intellij.openInOppositeGroup in IntellijExtension class.
  • Registered the new command in the extension's activate function.
  • Updated package.json to include the new command and its keybindings.
  • Ensured the command maintains focus on the newly opened editor tab and toggles back when invoked again.

Impact

This feature is expected to significantly improve user experience for those working with multiple files across different editor groups, making it easier to compare and edit files side by side.

Testing

  • Manual testing was conducted to ensure the command behaves as expected in various scenarios, including single and multiple editor groups.
  • Focus behavior and toggle functionality were verified to ensure consistency with the intended user experience.

Resolves #336

@kasecato kasecato self-requested a review March 23, 2024 11:49
@kasecato kasecato self-assigned this Mar 23, 2024
@kasecato kasecato added this to the v1.6.1 milestone Mar 23, 2024
@sfyr111
Copy link
Author

sfyr111 commented Mar 25, 2024

@kasecato ,

Thank you for your review and the valuable feedback. I've made the suggested changes. Please let me know if there's anything else that needs attention or further modification.

I appreciate your guidance!

@kasecato kasecato merged commit 84b1b02 into kasecato:master Mar 31, 2024
@kasecato
Copy link
Owner

kasecato commented Mar 31, 2024

I'd personally like to bind and use it. Thanks for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Open in Opposite Group" Feature to Improve Editor Navigation
2 participants