So i didn't like the default coloring of the java syntax highlighting so i decided to write my own. I tried editing the default xml files but it wouldn't recognize the third keyword tag i put in. So when i wrote the custom one it wont recognize the { and } as open folder characters when they are also listed as operators. The same thing happens with the // and /* */ comments when the / * are listed as operators. Is there anything i can do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well i tried to at first and its not working as i want it to ((So when i wrote the custom one it wont recognize the { and } as open folder characters when they are also listed as operators. The same thing happens with the // and /* */ comments when the / * are listed as operators.)) So thats when i tried to edit the default
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem with the user defined language is already known. When comment open and close characters are also operators, they won't mark comments. I guess the only workaround for now is to use the External Lexer plugin. You can find more info here: http://sourceforge.net/forum/message.php?msg_id=4706653
BTW, this could probably be fixed easily just by looking for comment sequences before anything else. Is there a way this can fixed directly inside notepad++ user language definition?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So i didn't like the default coloring of the java syntax highlighting so i decided to write my own. I tried editing the default xml files but it wouldn't recognize the third keyword tag i put in. So when i wrote the custom one it wont recognize the { and } as open folder characters when they are also listed as operators. The same thing happens with the // and /* */ comments when the / * are listed as operators. Is there anything i can do?
Well i tried to at first and its not working as i want it to ((So when i wrote the custom one it wont recognize the { and } as open folder characters when they are also listed as operators. The same thing happens with the // and /* */ comments when the / * are listed as operators.)) So thats when i tried to edit the default
The problem with the user defined language is already known. When comment open and close characters are also operators, they won't mark comments. I guess the only workaround for now is to use the External Lexer plugin. You can find more info here: http://sourceforge.net/forum/message.php?msg_id=4706653
BTW, this could probably be fixed easily just by looking for comment sequences before anything else. Is there a way this can fixed directly inside notepad++ user language definition?
Why edit a default xml if you way you want to write your own?
Use the User Define Language Dialog.