Skip to main content
Explorer
December 5, 2025
Question

When the file is too large, stmclang may freeze or fail when formatting code.

  • December 5, 2025
  • 1 reply
  • 86 views

Linux VM 6.17.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 UTC 2025 x86_64 GNU/Linux

vscode 1.106.3

Only the ST plugin package is installed, without the Microsoft C++ plugin or clangd.

 

The formatting function is not working properly. The attachment is the result formatted using the Microsoft C++ plugin (only the Microsoft plugin) on Windows.

    This topic has been closed for replies.

    1 reply

    Graduate II
    December 5, 2025

    @brucegong 
    See https://community.st.com/t5/stm32cubeide-for-visual-studio/code-formatting-style/td-p/853625 possibly.
    If formater not functional let's configure VSCode - relying on extra extensions possibly -  the way you want to get it up & running.
    While discussing about formater feature marketplace is your friend.
    If clang* has some limitation let's report to proper community (LLVM project) and point us the issue report link for reference it may help this community.