plugin CudaFormatter + its formatters
-
main Alexey
- Posts: 3004
- Joined: 25.08.2021 18:15
Re: plugin CudaFormatter + its formatters
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
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)
Formatter gave exception:
unindent does not match any outer indentation level (<tokenize>, line 5)
-
main Alexey
- Posts: 3004
- Joined: 25.08.2021 18:15
Re: plugin CudaFormatter + its formatters
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.
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
Thank you. Yes, I have an account, and I will join the testing.
Re: plugin CudaFormatter + its formatters
Unfortunately, the plugin is not available in the install section. The system has installed clang-format-static-bin
-
main Alexey
- Posts: 3004
- Joined: 25.08.2021 18:15
Re: plugin CudaFormatter + its formatters
clang-formatter is now added to the Addons-Manager 'Install' list, try again.
Re: plugin CudaFormatter + its formatters
It work perfectly!