Skip to content

persisting zoom in/zoom out settings #291

Closed

Description

@dmahugh

The magnification settings (Ctrl+/Ctrl-) reset to the default between sessions, and they also reset to default when opening a new folder. It would be great if these settings were stickier, as they are in many other editors - would eliminate some clumsiness when using Code in presentations, for example.

Activity

  1. seanmcbreen commented on Nov 20, 2015

    @seanmcbreen

    There is a simple extension in the marketplace to help:
    https://marketplace.visualstudio.com/items/chrisdias.vscodeZoom

    I'll close this for now - reopen if it does not meet your needs.

  2. bpasero commented on Dec 1, 2015

    @bpasero
    Contributor

    This will be possible with the newly introduced and persisted window.zoomLevel setting.

  3. gamtiq commented on Feb 24, 2016

    @gamtiq

    It would be great if these settings were stickier

    I agree.
    Using window.zoomLevel setting is not always convenient.
    I suppose this should be as "make and forget" action (a user sets the desired zoom level and just works, and don't have to change settings for such feature).

  4. stkb commented on Feb 24, 2016

    @stkb
    Contributor

    Denis Sikuler (@gamtiq) I actually prefer how it works now. When I use the zoom keys it's only for a temporary reason so I'm happy that it resets after I close vscode. Is there a particular reason why using the window.zoomLevel setting isn't convenient?

  5. gamtiq commented on Feb 24, 2016

    @gamtiq

    Actually there is no particular reason besides that is necessary to change the setting (and a user should know about window.zoomLevel setting which he can miss as I did).
    Moreover the setting's description in User and Workspace Settings is not clear (at least for me).
    Should the zoomLevel be integer value? Is fractional value possible? Which are minimal and maximum boundaries?
    There is no evidence from documentation.

    Maybe it is worth to add a setting that would regulate ability to save and restore zoom level between work sessions.

  6. stkb commented on Feb 24, 2016

    @stkb
    Contributor

    I agree that there's a discoverability issue with the setting, but that's a really wider a issue that affects other settings too. If you were to add another "zoom persistance" setting, it would have exactly the same discoverability issue!

    If you think the window.zoomLevel description could be better, you could always create a PR on the file where it lives, and possibly after that on the vscode-docs repo

    Btw, the setting can take any fractional value (something that makes it more powerful than zooming with the keys) and the range seems to be -8 to +9 (which are both ridiculously smaller or bigger than anyone would ever want).

  7. bpasero commented on Feb 29, 2016

    @bpasero
    Contributor

    I can make the description clearer.

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

Metadata

Metadata

Labels

verified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions