Skip to content

feat: add disable auto-formatting toggle in monaco context menu - #2022

Merged
ThuF merged 1 commit into
eclipse-dirigible:masterfrom
Fluctuationqt:yakov/auto-formatting-toggle
Sep 2, 2022
Merged

feat: add disable auto-formatting toggle in monaco context menu#2022
ThuF merged 1 commit into
eclipse-dirigible:masterfrom
Fluctuationqt:yakov/auto-formatting-toggle

Conversation

@Fluctuationqt

@Fluctuationqt Fluctuationqt commented Sep 2, 2022

Copy link
Copy Markdown
Contributor

Monaco context menu has a new action that is initially labeled 'Disable Auto-Formatting'.
When you click it the current file is added to a list of files with disabled auto formatting in the localStorage.
Upon the next context menu open for the same file the action is labeled 'Enable Auto-Formatting'.
On save if the file is in the localStorage's list of files with disabled auto formatting => no auto formatting is done to the content before save.
The action is bound to Cmd/Ctrl + Shift + D in the editor and you can cleanup any configurations for files with disabled auto formatting by using the 'Reset Theme' button.

@ThuF ThuF linked an issue Sep 2, 2022 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

[IDE] Enable/Disable Auto Formatting action

2 participants