microsoft / vscode

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

[Feature | API] Provide a "withoutFormatting" option for `document.save` and `workspace.save` #221614

Open xiyaowong opened 4 months ago

xiyaowong commented 4 months ago

Currently, invoking these two APIs triggers editor.formatOnSave and editor.codeActionsOnSave. Is it possible to provide an option to skip this behavior? Just like: https://github.com/microsoft/vscode/blob/f8a54c74adb45ec263b019432758e477c6732386/src/vs/workbench/common/editor.ts#L747-L750

vscodenpa commented 3 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 2 months ago

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vs-code-engineering[bot] commented 1 month ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!