Skip to content

Split View #35

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

Open
7 tasks
chrisdedman opened this issue Apr 20, 2025 · 0 comments
Open
7 tasks

Split View #35

chrisdedman opened this issue Apr 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@chrisdedman
Copy link
Member

Feature Request

Description

Introduce a split view feature in CodeAstra, allowing users to open and edit multiple files or views side by side (vertically or horizontally). This would improve multitasking and productivity by enabling simultaneous work on different parts of the codebase.

Motivation

Split view is a standard feature in modern code editors, enabling users to reference or edit multiple files simultaneously, especially useful when comparing code, copying between files, or reviewing related components. It aligns with CodeAstra’s goals of flexibility and control, and will greatly improve the development experience.

Tasks

List possible implementation steps (use checkboxes for progress tracking):

  • Design the UX for initiating and managing split views
  • Implement horizontal and vertical split support using Qt6 layouts
  • Enable opening different files in each pane
  • Allow dragging tabs between views
  • Persist split view layout in session state
  • Write tests for edge cases like closing files or unsaved changes
  • Document the feature in the user guide

Acceptance Criteria

  • Users can split the editor pane vertically or horizontally
  • Each pane can independently open a file
  • Smooth layout resizing and interaction with tabs
  • No data loss or instability during split/unsplit actions
  • Optionally persists split layout between sessions
  • Feature is well-documented and configurable

Additional Context

Consider emulating the simplicity of VS Code's "Split Editor" or Sublime Text's multi-pane layout. Qt6’s powerful layout system and widget management can be leveraged to provide a smooth, performant experience (although building the feature from scratch without dependencies is preferred).

@chrisdedman chrisdedman added the enhancement New feature or request label Apr 20, 2025
@chrisdedman chrisdedman moved this to Todo in CodeAstra MVP Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant