Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Custom syntax/code highlight
Custom syntax/code highlight [message #1856189] Fri, 25 November 2022 10:15
dog like is currently offline dog likeFriend
Messages: 1
Registered: November 2022
Junior Member
Hi all,

I am using Eclipse for a hobby C++ project and I have a question regarding syntax/code hightlighting.

I have some code like this - these are all global variables:

global_variable_1  =  global_variable_2  +  PARAM_offset


I want that code to look like this:

global_variable_1 = global_variable_2 + PARAM_offset

That means, as soon as the variable contains a keyword (in my case PARAM_ ) I want to highlight that variable in some way.


Is this possible ?

Of course I already tried the available options in preferences, but could not find a way to do it how I want it.

Thanks in advance!
BR

Previous Topic:C++ basic data types that are cross-platform
Next Topic:Can't debug with CMake
Goto Forum:
  


Current Time: Mon Apr 15 21:47:13 GMT 2024

Powered by FUDForum. Page generated in 0.22432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top