Author Topic: Different colours for error and warning markers  (Read 9314 times)

Offline christo

  • Multiple posting newcomer
  • *
  • Posts: 32
Different colours for error and warning markers
« on: October 30, 2023, 06:59:35 pm »
Hi CB developers,

I think it is a better user experience if we have different colours to indicate errors and warnings instead of red boxes for both errors and warnings

I've been testing changes to mark  warnings from clangd_client plugin with yellow colour -  https://github.com/josephch/codeblocks/commit/9a1a3e0391bcc175495fd6421416ec2a5bc4f10b

If you think this is useful, I can create and provide a patch on top of svn trunk .

Thanks
Christo

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2803
Re: Different colours for error and warning markers
« Reply #1 on: October 31, 2023, 06:30:19 pm »
I'm sure lots of people would like this feature.
But, currently, CB is under a feature freeze awaiting a new release.

Personally, I'd appreciate your offered patch to apply to my test version of CB.

Thanks

Offline christo

  • Multiple posting newcomer
  • *
  • Posts: 32
Re: Different colours for error and warning markers
« Reply #2 on: November 01, 2023, 06:03:55 pm »
Hi Pecan, attached patch on top of svn rev. 13384

Offline christo

  • Multiple posting newcomer
  • *
  • Posts: 32
Re: Different colours for error and warning markers
« Reply #3 on: January 06, 2024, 11:32:55 am »
Updated patch to mark lines which have both error and warnings as red