Tia ; Is there a pluggin to colorize .js files ?
PeterJones last edited by PeterJones
It works for me.
When I type that exact code and save as
browser.js, it correctly highlights the syntax:
You didn’t answer my question about what theme you’re using. You didn’t answer my question as to whether switching to
Default (stylers.xml)worked for you. You are going to need to answer all requests-for-info asked of you, or we are not going to be able to help you.
Alt+PrintScreenor use the Windows Snipping Tool (
Shift+WindowsKey+S) to grab a screenshot like the above, and paste it here, to show whether Notepad++ has recognized that
Please go to the Settings > Style Configurator, click on
INSTRUCTION WORDin the Style: column, then hit
Alt+PrintScreenor use Snipping Tool to give us the full Style Configurator dialog, like I have shown here:
please note that the
INSTRUCTION WORDincludes the color info for
function(), which I have shown as properly highlighted; this will give us a clue as to what’s going wrong with yours.
If yours does not have the
If you don’t answer both of these questions, I will not be able to help you further.
Sorry I got behind:
The style configurator shows you’re using the default style, and you’ve got the same color as I showed for the
INSTRUCTION WORD, so that’s configured properly.
Normal text fileor
XXXXXX file, and take a new screenshot?
The other experiment you could run is to close all Notepad++ windows, download the portable v7.9-32bit (download link here), unzip to a folder on your desktop, run Notepad++ from that folder, File Open
My best guess is still that you’ve got a weird config file problem. The experiment using the portable edition will help shed more light.
If anyone else wants to chime in with other ideas, feel free.
I just Restarted my system
and reDownloaded np++Portable
and re-do on all your suggestions
and voila , np++Portable works fine for .js .
Thank you very much !
Glad it worked.
If you don’t have any settings you care about from your installed version, you could just go to and delete the whole
%AppData%\Notepad++\folder and let Notepad++ re-create the configs with default settings. If you do care about previous settings, it will take some effort on your part to determine which config file is the cause: I would suggest something like: rename
%AppData%\Notepad++.old\, launch Notepad++ to re-create configs with defaults, then one-at-a-time, exit notepad++ and copy one config file from .old to the new folder and rerun notepad++ until it stops highlighting JS; once you find the culprit, you can compare the old vs default config files and try to figure out what setting was the culprit. But it might be easier for you to just start from the fresh config on your installed copy, and then change the settings back to the way you like it from within Notepad++ GUI itself.
Let us know if you need more help with that process. Make sure to provide details on exactly how far you’ve gotten.
I don’t really know what this is %AppData%\Notepad++\
so I searched for it in files :
I guess that’s all normal .
Think I’ll just tip toe away :)
Alan Kilborn last edited by Alan Kilborn
I don’t really know what this is
There’s a FAQ in this Forum on that: https://community.notepad-plus-plus.org/topic/15740/faq-desk-what-is-appdata
Do people not check FAQ of a forum anymore?