Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Notepad++ syntax highlighting on typescript template string

While using Notepad++ to write a template string in Typescript, when I have focus on the template string, the string foreground turns to white which contrasts badly with the background color, I checked Notepad++ style configurator in the settings tab, I did not see any option to change the foreground color of the template string when it has focus at all.

When the template string does not have focus, it looks nice


enter image description here


When it has focus, I can barely see the string


enter image description here

How do I change that?

like image 314
Meme Composer Avatar asked Dec 12 '16 00:12

Meme Composer


People also ask

Does Notepad have syntax highlighting?

Like other text editors, Notepad++ (which is recommended by the basic tutorial) uses a system called Syntax Highlighting which helps in coding by visually identifying different parts of code with color.

How do I remove syntax highlighting in Notepad ++?

Click on LANGUAGE -> N -> NORMAL TEXT You may have somehow selected Java as the language setting of your documents. You can also set the default by going to: SETTINGS -> PREFERENCES -> NEW DOCUMENT -> DEFAULT TEXT -> DEFAULT LANGUAGE and set that to "Normal Text". Save this answer. Show activity on this post.

How do I enable syntax highlighting in 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 run a TypeScript in Notepad ++?

Notepad++ does not support TypeScript (Supported Programming Languages).


1 Answers

Notepad++ now support TypeScript:

https://github.com/Microsoft/TypeScript/wiki/TypeScript-Editor-Support#notepad

like image 88
chai2010 Avatar answered Oct 25 '22 07:10

chai2010