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

Add Maximize icon to all views. #14511

Open
nimo23 opened this issue Nov 24, 2024 · 5 comments
Open

Add Maximize icon to all views. #14511

nimo23 opened this issue Nov 24, 2024 · 5 comments

Comments

@nimo23
Copy link

nimo23 commented Nov 24, 2024

Feature Description:

Coming from Eclipse IDE, I miss the following feature in Theia:

In Eclipse IDE, any type of view can be maximized, meaning it takes up the entire window. It can be activated as follows:

  • there is a maximize icon in the top right corner of each view or panel
  • Maximizing can also be done by double-clicking on the active tab/view.

Currently, in Theia we can only maximize by detaching the view (called Move view to secondary window). However, this is not the same as maximizing the view to use the entire view area of ​​the existing Theia window. By the way, if we detach the view in full screen mode, then it shows a big white screen for a very short moment (about 1-2 second), which is also a bit annoying when dark mode is active.

@tsmaeder
Copy link
Contributor

@nimo23 you can maximize editors with "View: Toggle Maximized" (I know, kind of a misnomer). I need a bit of convincing maximizing views would be a desirable feature. Do you have any concrete examples where maximizing views is useful?

@nimo23
Copy link
Author

nimo23 commented Nov 25, 2024

Do you have any concrete examples where maximizing views is useful?

For example:

  • Focus on the source code (and hide everything else, also known as ZEN-Mode)
  • Enlarge the terminal view (to avoid scrolling and see everything at once)
  • For people with disabilities (maximize any view for any reason)
  • ...

By the way, this is one of the main features of the Eclipse IDE and has proven its reason for a long time.

you can maximize editors with "View: Toggle Maximized"

This is not user friendly. Maximizing will maximize the view but restoring it is not so easy. Just look at the Eclipse IDE, try it out and compare it with Eclipse Theia.

The maximize/restore could be achieved as follows:

  • Double-clicking on the active tab/view-title, will maximize the view. Double clicking the tab-title again, will restore to the previous size.
  • Add a maximize icon in the top right corner of each view or panel (optional)
  • By keyboard shortcut: In the Eclipse IDE, the standard keyboard shortcut is CTRL+M

@nimo23
Copy link
Author

nimo23 commented Nov 25, 2024

I found out that maximizing and restoring an Theia view is already possible using the keyboard shortcut Option+M.

Just the following is missing:

  • Double-clicking on the active tab/view-title, will maximize the view. Double clicking the tab-title again, will restore to the previous size.
  • Add a maximize icon in the top right corner of each view or panel (optional)

@tsmaeder
Copy link
Contributor

How do you maximze for example the file explorer? Doesn't work for me using Alt-M.

@nimo23
Copy link
Author

nimo23 commented Nov 25, 2024

How do you maximze for example the file explorer? Doesn't work for me using Alt-M.

Right. It doesn't work for all views. It would be good if it worked for every type of view.

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

No branches or pull requests

2 participants