tool of editors for programming, scripting and markup From Wikipedia, the free encyclopedia
Syntax highlighting is where a text editor, integrated development environment or other computer program shows different parts of some source code in different colours. This makes it easier for computer programmers to read the source code and understand what it does. It can be done in different colors, and different programming languages have different rules about what parts of the source code need to be different colors.
This is an example comparing some C code without syntax highlighting and with syntax highlighting:
Without syntax highlighting | With Syntax Highlighting |
---|---|
#include <stdio.h>
int main()
{
printf("Hello world!\n");
return(0);
}
| #include <stdio.h>
int main()
{
printf("Hello world!\n");
return(0);
}
|
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.