Skip to main content

All Questions

7 votes
1 answer
6k views

Notepad++ how to automatically highlight .log files like in IDEs?

How can I create a user defined language (UDL) in Notepad++ to highlight my logs like in other IDEs? So for example that INFO logs are green, DEBUG logs blue, ERROR logs red and so on? my wish
josephReinhardt's user avatar
-2 votes
1 answer
390 views

Notepad++ doesn't color String type in my programs, why?

I was looking at some code i've written, an example from a book: public class Acquisto { private String nome; private int dimGruppo; private double prezzoGruppo; private int ...
Atlas_'s user avatar
  • 1
0 votes
0 answers
289 views

How to prevent Notepad++ changing font style for Autohotkey Comment

How to prevent Syntax Highlighting / Changing of font color if comments denoter semicolon does not have preceeding whitespace or has preceeding backquote for Autohotkey script in Notepad++. Detail: I ...
Dhay's user avatar
  • 621
0 votes
1 answer
345 views

Is it possible to apply syntax highlighting of one filetype to another in Visual Studio Code, like in Notepad++?

Somebody who used Notepad++ clearly knows about applying custom syntax highlighting to any text, by selecting an option from the "Language" menu, as shown the screenshot below; This way, ...
Alfred's user avatar
  • 21.3k
1 vote
1 answer
309 views

Notepad++ doesn't highlight matching braces in Perl?

I have been using Ultraedit 16 for Perl editing. I'm thinking about migrating to Notepad++ and gave it a try. Here's how Ultraedit does highlighting. The cursor is on the last brace, and the ...
tim11g's user avatar
  • 1,965
1 vote
2 answers
6k views

How to setup Notepad++ to highlight matching brackets?

I am using Notepad++ 7.8.4 64 bit on Windows 10. I've tried a few different files (different extensions) and the set highlighting for matching brackets does not work. In the Settings --> Style ...
dave's user avatar
  • 21
0 votes
1 answer
2k views

How to add XQuery syntax highlighting to NotePad++ (NPP) 7.x?

The NPP 7.x installation misses XQuery syntax highlighting. How to add it?
el_schalo's user avatar
  • 183
2 votes
4 answers
2k views

Notepad++ syntax highlight of embedded SQL in PHP files

Notepad++ works with Scintilla lexer to recognize switches in language within a .php file somehow. It seems to default to HTML and recognizes <?php ... ?>, and <script type="text/javascript"&...
Peter Brand's user avatar
12 votes
2 answers
3k views

Notepad++ Unwanted syntax Highlighting for Markdown

Following the latest update for NPP on Windows 10, my markdown is now highlighted like in the image below (I know it's Python code, that's not the point). I want completely plain code for Markdown - ...
Robin Andrews's user avatar
1 vote
0 answers
116 views

Notepad++ syntax highlight - php keywords in different cases

In Notepad++ PHP syntax highlight works only for keywords in lower case (preg_replace, define, etc) and doesn't work for different cases (getSingleton, getTableName, etc). How to change it? Settings -...
Michal's user avatar
  • 21
1 vote
1 answer
447 views

How do I set syntax highlighting in Notepad++ for a PHP file outputting JS?

PHP is most commonly used to echo out HTML, but for this project I'm using PHP to echo out JavaScript. How can I set syntax highlighting in Notepad++ to assume that anything outside of PHP tags is JS?...
Josh Powlison's user avatar
-2 votes
1 answer
60 views

What do the TreatAsSymbol attributes do?

I'm trying to make a Notepad++ Syntax Highlighter --> Ace Editor Syntax Highlighter converter. It seems pretty simple to do and hopefully will help others out also. I've been looking at the syntax ...
Sancarn's user avatar
  • 2,732
1 vote
0 answers
261 views

notepad++: create regular expression to change color of comment following comment

I know that every syntax highlight in notepad++ is based on regular expressions configured for the current language, but where do notepad++ stores the files relative to these regexes? In my case, I ...
Eduardo Poço's user avatar
5 votes
3 answers
12k views

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 ...
Trash Can's user avatar
  • 6,774
0 votes
0 answers
289 views

PHP curly braces inside strings colour in Notepad++

I want to colour variables inside curly braces in PHP strings For example echo “My variable is {$myvar->myArray[$something]}” Currently I have the Obsidian theme, and something like this displays ...
Wer Bn's user avatar
  • 171

15 30 50 per page
1
2 3 4 5 6