ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
26 stars 5 forks source link

Build Message Window - Consider `Problems` for messages #112

Open ReinhardKeil opened 1 week ago

ReinhardKeil commented 1 week ago

Is it possible to make this window wider?

image

There is currently a line break which is not in the message itself.

Project.cproject.yml - dependency validation for context 'Project.Debug+STM32F301C6Tx' failed:
SELECTABLE Keil::Device&STM32CubeMX:STM32Cube Framework:STM32CubeMX@1.11.3
  require Device:STM32Cube HAL"
brondani commented 1 week ago

This is a status bar tooltip property: https://code.visualstudio.com/api/references/vscode-api#StatusBarItem

Unfortunately its max width is not exposed in the vscode API.

It seems the issue Configure tooltip max width has been requested for years, eventually the editor's tootip has been made resizable but not persistent. The status bar tootip is not even resizable.

Anyway in my opinion errors/warnings should be displayed in the PROBLEMS panel rather than in the status bar tooltips.

ReinhardKeil commented 6 days ago

Agree with you: we should use Problems to display this type of messages.

I keep this open.