2025-08-13 2:30 PM
Running STM32CubeIDE versions 1.18.1 and 1.19.0
i
static char *Audio3D[] = { // Main Settings display
"THERE ARE 15 VOLUME ",
IDE version 1.18.1 displays a 21 character line of code with the quotes one ontop of the other.
static char *Temp2D[] = {
" TEMPERATURE ",
" CELSIUS ",
" FAHRENHEIT "
};
IDE version 1.19.0 displays a 21 character line of code with the quotes not lined up
Makes it extremely hard to see if hundreds of lines of code are all 21 characters.
static char *Temp2D[] = {
" TEMPERATURE ",
" CELSIUS ",
" FAHRENHEIT "
};
2025-08-13 3:41 PM
> quotes one ontop of the other.
> quotes not lined up
Maybe a screenshot would be more descriptive here, yes?
Check that the file is pure UTF-8 characters and encoding is set correctly. Font is monospaced, should display the file contents accurately.
2025-08-15 5:58 AM
Please tell me How to set encoding. How to make fonts be monospaced.
2025-08-15 6:04 AM - edited 2025-08-19 1:50 AM
@JBonn wrote:Please tell me How to set encoding. How to make fonts be monospaced.
Properties->Resource->Text File encoding (then set to UTF-8)
Preference->general->Appearance->Colors and Fonts->C/C++/Editor
Please format your code in your posts: https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228
2025-08-15 6:57 AM
They're monospaced by default. If you have weird characters, that's the problem. Impossible to know what's going on here as you didn't really provide enough detail.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.