Soldato
Hey everyone,
For those of you who use notepad++, can you please do me a favour?
At work I go through a fair bit of SQL code and my colleagues tend to use this syntax for comments:
/*********** comment *********/
When set to SQL syntax highlighting, what is really starting to **** me off is that I'm trying to get these to show up in notepad++ as comments, but for some reason they are treated as normal text.
If I have this, then it works fine:
/* comment */
It is only when multiple asterisks are involved it messes up. This does not happen if I set the syntax language to anything else that can use /* */ for commenting, e.g. PHP, Verilog, etc. I have spent ages scouring the web, Google, and all the notepad++ XML files looking to find what defines the behaviour of comments, and why this is happening, but to no avail.
I wouldn't be so annoyed if language definitions in Notepad++ were documented better
So yeah, anyone who's encountered this and may be able to point me towards a solution will be awarded many internets
P.S. The Style Configurator GUI in notepad++ is utterly useless for this, as it only lets me change the colours & font etc, not the low level intricacies of what defines a comment and what doesn't.
For those of you who use notepad++, can you please do me a favour?
At work I go through a fair bit of SQL code and my colleagues tend to use this syntax for comments:
/*********** comment *********/
When set to SQL syntax highlighting, what is really starting to **** me off is that I'm trying to get these to show up in notepad++ as comments, but for some reason they are treated as normal text.
If I have this, then it works fine:
/* comment */
It is only when multiple asterisks are involved it messes up. This does not happen if I set the syntax language to anything else that can use /* */ for commenting, e.g. PHP, Verilog, etc. I have spent ages scouring the web, Google, and all the notepad++ XML files looking to find what defines the behaviour of comments, and why this is happening, but to no avail.
I wouldn't be so annoyed if language definitions in Notepad++ were documented better
So yeah, anyone who's encountered this and may be able to point me towards a solution will be awarded many internets
P.S. The Style Configurator GUI in notepad++ is utterly useless for this, as it only lets me change the colours & font etc, not the low level intricacies of what defines a comment and what doesn't.
Last edited: