Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ - highlight custom keywords

Tags:

notepad++

Is there any way for Notepad++ to highlight syntax with user added keywords, WITHOUT defining new language? I'd like to add highlighting for TODO/TBD/FIXME and some other, project specific keywords. Is that even possible?

like image 242
Andrzej Avatar asked Jul 25 '13 19:07

Andrzej


People also ask

How do you highlight words in notepad?

If you want to highlight one word at a time, press Ctrl while holding down Shift , and then press Left arrow or Right arrow . If you want to highlight a whole line of text, move your cursor to the start of the line, hold Shift , and then press Down arrow . You may also use the shortcut key combination Shift + End .

Can you highlight things in Notepad?

Notepad does not have highlight function. To highlight text permanently, similar to a highlighter on paper, use WordPad instead of Notepad. Find WordPad by searching on the Start menu or search.

How do I add syntax highlights to Notepad?

To configure syntax highlighting, click on “Language” in the top bar, then click the letter the language starts with, and then the language. If you want to define your own language, click on “Language” again, then click on “User Defined Language”, third from the bottom, and then click “Define your language”.

How do I permanently highlight in notepad?

If you prefer to use the keyboard, hold the Shift key and use the arrow keys to select text in any direction. Hold Ctrl and Shift while pressing the left or right arrow key to select one word at a time instead of a space at a time. To select the entire document, press Ctrl-A.


1 Answers

For those that are visting this page (by a google search for example), there is an answer for the Ruby language given here. But as it works the same way for every other language, BoltClock answer is suitable for [given] language.

In short: Go to Settings > Style Configurator > Choose language > Click at KEYWORD / INSTRUCTION and add your own keyword.

like image 140
Jacob van Lingen Avatar answered Oct 09 '22 13:10

Jacob van Lingen