Page 4 of 4
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 10:11
by main Alexey
I handled the exception in CudaFormatter, pls update it from 'plugin / addons manager / update' dialog to 2026.03.07. now it must show OK msg-box, for that wrong indented line 5.
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 13:38
by dima8101
I have updated the plugins. No error appears in the log window. But the error is still there, and it doesn't format. An error window appears:
Formatter gave exception:
unindent does not match any outer indentation level (<tokenize>, line 5)
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 15:52
by main Alexey
Black-formatter cannot format, when it finds that indents are wrong, so it's valid behavior of Black formatter.
User must fix all indents first.
===
About C++ formatter. New formatter appeared and it is not yet in the Addon-Manager.
https://github.com/CudaText-addons/cuda ... /issues/23
Create a github account (if not yet) and help with the initial testing, pls.
I will test too.
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 16:25
by dima8101
Thank you. Yes, I have an account, and I will join the testing.
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 16:36
by dima8101
Unfortunately, the plugin is not available in the install section. The system has installed clang-format-static-bin
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 17:22
by main Alexey
clang-formatter is now added to the Addons-Manager 'Install' list, try again.
Re: plugin CudaFormatter + its formatters
Posted: 07.03.2026 17:49
by dima8101
It work perfectly!