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?
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 .
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.
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”.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With