microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.14k stars 28.53k forks source link

Zen Mode Settings #45617

Open Jonatthu opened 6 years ago

Jonatthu commented 6 years ago

I request a special property for zen mode

zenMode.fontSize and "zenMode.fontWeight": "bold"

So would be different from

editor property settings

vscodebot[bot] commented 6 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

isidorn commented 6 years ago

This seems like a special settings for zen mode which would take effect when in zen mode. Something like a language identifier settings which take priority when you are in javascript file for example.

"[zen]": {
    "editor.fontSize": 12
}

Renaming this feature request to be more global.

Ky6uk commented 6 years ago

I think also things should be configurable in zen mode for a better concentrating on a code:

screen shot 2018-04-27 at 12 52 36

ghost commented 6 years ago

It would be nice if this was applied more generally by allowing settings to be changed after a certain action has been executed.

isidorn commented 5 years ago

@sandy081 is this feature request realistic, could we add a new configuration scope for zen mode. Here's a highly requested feature which would benefit from this https://github.com/Microsoft/vscode/issues/31609 We could also deprecat a lot of zenMode specific settings if we added this

sandy081 commented 5 years ago

@isidorn Do you think all editor settings makes sense to be overridable in zen mode? This also brings up new overriding dimension, for eg zen mode takes precedence over language settings?

isidorn commented 5 years ago

@sandy081 yes I think all editor setting make sense to be overriden in zen mode. However in general I would need more than editor setting. Do for language overried you only allow editor ones to be overriden? Yes, zen mode should take precedence over language settings imho.

In practice here are the most needed ones: editor.lineNumber workbench.editor.showTabs workbench.activityBar.visible workbench.statusBar.visible editor.fontSize

sandy081 commented 5 years ago

Do for language overried you only allow editor ones to be overriden

Yes.

So you need support for more identifiers that can override settings (not just editor).

isidorn commented 5 years ago

@sandy081 yes. Does that overcomplicate things?

sandy081 commented 5 years ago

Yes, it will for the user. It is hard to explain why some settings are supported for some override identifiers and not for others especially there is no UI. Also this will introduce two types of settings for zen mode, one those with zen.* and others with [zen]. Is not it simple if all settings follow only one type?

isidorn commented 5 years ago

@sandy081 once we introduce this I will deprecate all zen. settings

sandy081 commented 5 years ago

Ok, I can provide following internally

tobyee commented 5 years ago

Hide minimap configurable +1

Jonatthu commented 4 years ago

@isidorn Is this going to be ever an option?

Mattsteele1197 commented 2 years ago

I'd love to hide git changes and disable the minimap when I'm in Zen mode, but I need it in my normal workflow.

Has there been any updates to this, or workarounds with zenMode specific settings?

hughlilly commented 1 year ago

I’d like to be able to toggle window.commandCenter to off (false) when in Zen mode.

miguno commented 11 months ago

I'd love to hide git changes and disable the minimap when I'm in Zen mode, but I need it in my normal workflow.

Has there been any updates to this, or workarounds with zenMode specific settings?

+1

anatoly-yakubov-betpawa commented 10 months ago

Centred mode has vertical rulers. 1) Vertical rules (width) settings is being saved somewhere, but can only be configured by mouse. A numeric setting would be nice to have. 2) Would be nice to have zen.EditorMinWidth. Currently editor width is controlled by vertical rulers, which tied to % of width available, hence width changes on different displays and windowed/full-screen modes. New settings or two would give a better, more predictable control over focused editor size.

nicksuhkeys commented 5 months ago

any updates to this?

m93a commented 3 months ago

I would love to disable the lightbulb when in Zen mode. The settings for it is "editor.lightbulb.enabled": false, but there's currently no way to set it conditionally only for Zen mode.

faenuccio commented 3 days ago

I would like to disable the double-click for MarkDown preview when in Zen mode: I often project MDs using ZenMode (and do not want double-click to trigger the window with the md original file), but modify them outside Zen (and then the double-click is useful).