You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set "editor.formatOnSaveMode": "modificationsIfAvailable" in vscode so that automatic formatting will only format the parts I modified when saving. This setting works well when I edit Cpp files, but this is not suitable for cmake-language-support, it does not seem to work. When saving the CMakeLists.txt file, it will directly format all the contents in the file, including parts of the file that were not written by me.
Please tell me how to make cmake-language-support also support formatting only the modified part when saving, or directly disable formatting. I did not find the relevant option in the settings.
The text was updated successfully, but these errors were encountered:
I set
"editor.formatOnSaveMode": "modificationsIfAvailable"
in vscode so that automatic formatting will only format the parts I modified when saving. This setting works well when I edit Cpp files, but this is not suitable for cmake-language-support, it does not seem to work. When saving the CMakeLists.txt file, it will directly format all the contents in the file, including parts of the file that were not written by me.Please tell me how to make cmake-language-support also support formatting only the modified part when saving, or directly disable formatting. I did not find the relevant option in the settings.
The text was updated successfully, but these errors were encountered: