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
Which ever format I try to select from the preferences in eclipse
C/C++ -> Code Style -> Formatter
I see that the editor is always going back to some default formatter like K&R.
It would be helpful if you can provide someway to make that work. Maybe I am missing something. Also let me know if there are some changes required in the implementation or point me to the particular file you are using for the formatting and I can see if in our integration we can change it in a way to utalize the code style from eclipse
The text was updated successfully, but these errors were encountered:
The formatting in the new LSP based editor relies on a .clang-format file in the source file folder or its parents (e.g. a .clang-format file in the project root will be used for all source files in the project)
The format info comes from the clangd language server. The formatting defined in the .clang-format will also be applied via the Ctrl+Shift+F shortcut or via the context menu in the editor:
Which ever format I try to select from the preferences in eclipse
C/C++ -> Code Style -> Formatter
I see that the editor is always going back to some default formatter like K&R.
It would be helpful if you can provide someway to make that work. Maybe I am missing something. Also let me know if there are some changes required in the implementation or point me to the particular file you are using for the formatting and I can see if in our integration we can change it in a way to utalize the code style from eclipse
The text was updated successfully, but these errors were encountered: