Skip to content

Maximize current file/tab/editor #16927

Closed

Description

@dfroze
  • VSCode Version: 1.7.2
  • OS Version: Linux Mint

I've looked a bit but couldn't find a solution. Is there a way to toggle maximize (full screen) only the current tab/file? Even if there is split editor, it shouldn't display it, only the current file/tab.

Thanks

Activity

  1. bpasero commented on Dec 8, 2016

    @bpasero
    Contributor

    dfroze there is a new "Zen Mode" coming up which is maybe what you want?
    Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

  2. added
    info-needed
    feature-request
    and removed
    info-needed
    on Dec 8, 2016
  3. dfroze commented on Dec 9, 2016

    @dfroze
    Author

    Thank you Benjamin Pasero (@bpasero) . I tried the insiders build:
    Version 1.7.2
    Commit 7ba55c5
    Date 2016-11-21T22:14:18.217Z
    Shell 1.3.8
    Renderer 52.0.2743.82
    Node 6.5.0

    But couldn't find the zen mode (not in the menu bar, keyboard shortcuts conf or showCommands bar). And the full screen is the same as the release one.
    Where can I find the nightly builds? Or where can I find the build you mentioned?

  4. bpasero commented on Dec 9, 2016

    @bpasero
    Contributor

    dfroze that is not the insiders build, it should be Version 1.8.0!

  5. alefragnani commented on Dec 9, 2016

    @alefragnani

    The Zen Mode will not maximize only the current file/tab but instead, the entire window with all groups/editors, which I prefer by the way 😄

    Maybe a setting to accomplish what dfroze is asking?

  6. LiTiang commented on Mar 23, 2017

    @LiTiang

    what's dfroze talk about is called maximize-panes in Atom,

    this is so important that Eclipse, Sublime Text . . . also have this feature

    i could not have this functionality when dev 😨

    see how it work by this

  7. danielrob commented on May 6, 2017

    @danielrob

    Yeah the problem with zen mode is when switching application tabs, you can't toggle onto the zen mode on mac. I find this makes the feature basically unusable. I want Zen mode without fullscreen.

  8. mauro3 commented on Aug 6, 2017

    @mauro3

    Yes, this would be great to have. One example when this would be useful: three editor panes open, then open the Settings. Now the Settings are displayed in a completely unusable way (on my screen at least).

    Note, that this toggle and the zen mode toggle should operate independently.

  9. bpasero commented on Sep 10, 2017

    @bpasero
    Contributor

    You can use this command to make the active editor maximum width and hide the side bar:

    image

  10. PixelT commented on Sep 12, 2017

    @PixelT
  11. 110 remaining items

  12. apj68 commented on Jun 23, 2023

    @apj68

    ... causes the editor group for that tab to be maximized- not full-screened, but the editor group becomes as large as it can be, and all other editor groups become as small as they can be.

    But I think what some of us are looking for is for the editor (vs editor group) to be maximized (preferably, available through a keyboard shortcut). And then unmaximizing would return to the original state of the entire window (editor group/s and layout).

  13. garretwilson commented on Jun 23, 2023

    @garretwilson

    When I'm in the terminal in VS Code and I want it bigger, on Windows I hit Ctrl+Shift+J, the terminal suddenly expands to fill the screen vertically. It would be nice if it would hide the sidebar, too, but hey, I can do that myself. I can't hit Ctrl+B because the terminal eats that character. So I can un-maximize the terminal with Ctrl+Shift+J again, switch back to the main window with Ctrl+1, hit Ctrl+B to minimize the sidebar, hit Ctrl+~ to get back to the terminal, hit Ctrl+Shift+J again to maximize it … ah, there we go! Wasn't that easy? (not)

    Even if I can live with Ctrl+Shift+J to sort-of mazimize the terminal when I'm there, what happens when I'm back in the editor? I can't hit Ctrl+Shift+J, because that will maximize the terminal (even though I'm in the editor). Maybe there is some other keystroke that maximizes the editor. I don't know. Why should I have to know? Why can't we just have one keypress that says "maximize this thing I'm in right now, whether it's the editor or the terminal"?

    Eclipse has had this for literally decades. Ctrl+M just maximizes the thing where you are. Ctrl+M un-maximizes it. I don't understand where the confusion lies on the functionality being requested.

    Even simply improving Ctrl+Shift+J to detect if you're in the editor or the terminal would be a huge improvement as far as I'm concerned, even though it's only halfway (actually about 40%) there.

  14. wuzhen0808 commented on Aug 29, 2023

    @wuzhen0808

    +1

  15. starball5 commented on Aug 30, 2023

    @starball5

    Garret Wilson (@garretwilson) if you want to sync toggling visibility of things, see VS Code shortcut key to hide/restore all view and panels but the editor panel for ideas on approach.

  16. benibenj commented on Oct 24, 2023

    @benibenj
    Contributor

    In the newest Insider release we support maximizing editor groups. You can give it a try here: https://code.visualstudio.com/insiders/

    The following ways can be used to maximize a group:

    • Command Palette: Maximize Group (If at least two groups are available)
    • Editor Title Menu: Maximize Group (If at least two groups are available)
    • Double Click Tab: Requires workbench.editor.doubleClickTabToToggleEditorGroupSizes: 'maximize'
  17. kopili commented on Oct 24, 2023

    @kopili

    In the newest Insider release we support maximizing editor groups. You can give it a try here: https://code.visualstudio.com/insiders/

    The following ways can be used to maximize a group:

    • Command Palette: Maximize Group (If at least two groups are available)
    • Editor Title Menu: Maximize Group (If at least two groups are available)
    • Double Click Tab: Requires workbench.editor.doubleClickTabToToggleEditorGroupSizes: 'maximize'

    I'm sorry, but this is totally not the required feature - currently the tab only maximizes the group to the maximum window size. What we actually need is to maximize to the whole IDE size - which means to use the space of the explorer on the left, this utilizing the whole possible window size - you can try double clicking on a tab in IntelliJ IDEA and check what happens - it fully maximizes the window, thus allowing you to read the code better! At the same time you still see the tabs on the top, so you can switch between files and look at them at full size ...

  18. neo-anderson commented on Oct 25, 2023

    @neo-anderson

    I didn’t get to test the feature yet, but if what Borislav Kirilov (@kopili) is saying is true, we should probably leave this issue open

  19. benibenj commented on Oct 26, 2023

    @benibenj
    Contributor

    I created a new feature request for maximizing the editor across the workbench. I made a suggestion how this could work. Let me know if this is what you would expect the feature to do. Planning to add it in the next iteration. #196722

  20. locked and limited conversation to collaborators on Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestlayouton-testplanworkbench-editors

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions