Search code examples
cnotepad++stdint

Notepad++ and stdint.h types


Notepad++ C and C++ builtin languages, do not recognize stdint types (uint8_t etc) and as such these types do not get colored.

Is there a way to extract the builtin language, so that the stdint types are inserted, whithout having to create a new language from scratch?


Solution

  • Go to Settings > Style Configurator, and then to C / C++ languages, and then to the TYPE WORD style. There you can add new types uint8_t, uint16_t, uint32_t, int8_t etc in the User-defined keywords textbox.