Syntax highlighting

Started by neo313, May 15, 2014, 02:56:30 PM

Previous topic - Next topic

neo313

Is there a way to customize syntax highlighting?

Specifically I would like to have my types and functions colored like the built in types and function which are colored differently.


Bitbeisser

Quote from: neo313 on May 15, 2014, 02:56:30 PM
Is there a way to customize syntax highlighting?

Specifically I would like to have my types and functions colored like the built in types and function which are colored differently.
Of course. Tools->Options->Source

Ralf

neo313

#2
Quote from: Bitbeisser on May 15, 2014, 10:59:08 PM
Quote from: neo313 on May 15, 2014, 02:56:30 PM
Is there a way to customize syntax highlighting?

Specifically I would like to have my types and functions colored like the built in types and function which are colored differently.
Of course. Tools->Options->Source

Ralf

I know I can change the current color set, but that is not the issue.
Pelles only highlights built in(!) functions and types, not the functions and types I declared.

Here let me show an example so anyone can understand:

typedef int my_type ;
my_type var ;

void Function( void )
{
        printf("\n") ;
        Function() ;
}

Italic means that the word is highlighted with some color.

my_type , Function are not highlighted, how can I correct that?

Is there an add-in I can install, or can I write my own? I have no idea where to start, any guidelines or docs? ( Since pelles does have the ability to jump to the definition of a type or a function, this might be possible(?) )

Can I possibly modify a file containing a list of words that are highlighted, if there is such a file?

Pelle

Not possible today. Maybe in some future version...
/Pelle

neo313