Tia ; Is there a pluggin to colorize .js files ?
If it’s not working for you, please share your ? menu’s Debug Info
Yes , highlighting for .js in not working ,
I don’t know how to do any debugginh .
You go to the menu called ? and click on Debug Info.
Then you click on “Copy debug info into clipboard”, and paste it in your reply.
Under ‘Language’ the .js is highlighted .
So it knows file is .js .
Notepad++ v7.9 (32-bit)
Build time : Sep 22 2020 - 03:24:22
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 1903
OS Build : 18362.959
Current ANSI codepage : 1252
Plugins : MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExport.dll NppMarkdownPanel.dll
PeterJones last edited by PeterJones
I see you are impatiently waiting for more help. Since you only provided half of what I’d asked for, it seems rather rude for you to get impatient about it – you gave the debug info, but not the screen shot.
For other trouble shooting: go to Settings > Style Configurator: what is your theme? If it’s not the default, try to change the Theme to
Krishna J last edited by
@vmars-vernon - Thanks
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?