idf-eclipse-plugin icon indicating copy to clipboard operation
idf-eclipse-plugin copied to clipboard

Custom linewidth formatter not applied with C++ LSP editor (IEP-1290)

Open DigKleppe opened this issue 1 year ago • 1 comments

The formatter always formats to 80 characters with the default LSP editor. When using the standard C editor formats to the wanted width. Cannot make the old C/C++ editor default.

Screenshot from 2024-07-04 12-09-41

Espressif-IDE Product Information: productInfo.log Espressif > Product Information (Copy content from the console and attach as a file)

DigKleppe avatar Jul 04 '24 10:07 DigKleppe

Hi @DigKleppe

LSP editor uses .clang-format from the project root for formatting. Please check this post here https://github.com/espressif/idf-eclipse-plugin/issues/1011#issuecomment-2202018650

kolipakakondal avatar Jul 05 '24 07:07 kolipakakondal