How to fix Notepad++ icons not showing?
If the file association is set correctly and only the icon needs to be changed, you can use something like FileTypesMan to accomplish this.
-
Select the file type/extension you want to edit from the top pane:
-
Next edit the selected file type (via right-click/context menu or F2) and ensure the Default Icon field is set to properly point to Notepad++'s executable (or whichever file contains the icons; perhaps a .DLL):
Exit FileTypesMan, log off and log back in or reboot as required, then test your changes
Of course you can do all this from the registry as well, but this utility just makes it easier (and likely safer too). :)
Regarding removal of the Office XML Editor, I didn't find a separate entry under Add/Remove Programs for it, neither could I spot it when I chose to modify the Office 2010 installation and Add/Remove Features. Perhaps I somehow missed it. Anyway, no harm in it being there as long as it's no longer associated in any way with the .XML extension, which is what you want.)
Edit: The Notepad++ File Association utility might also be able to help, otherwise I would recommend trying again via the program itself, or reinstalling so that the installer can set all default file associations properly.
Related videos on Youtube
Comments
-
SeinopSys almost 2 years
I like to develop in Notepad++, but ever since I installed MS Office 2010, even after setting it as the default editor for all html/php/js files, I still get the XML Editor's icon in the file browser, and not Notepad++'s.
I also would like to get rid of that XML Editor entirely, so if anyone can tell me what to change in Add/Remove programs to wash it off my system, I'd love to hear about it.
-
Karan over 11 yearsDid you try right-clicking an XML file / Open with / Choose default program, then selecting Notepad++ and ensuring the Always use selected program option was checked?
-
SeinopSys over 11 years@Karan Yes. It does open with Notepad++, it's just the icon that's not changing.
-
-
SeinopSys over 11 yearsYou get a +1, but this will always have to be done every time I want to associate a new file type. I want to either remove it entirely, or change the icon for all future associations, dynamically.
-
Karan over 11 yearsI don't get it. Why will this have to be done every time? Normally when I change the default program associated with an extension, the icon changes to whatever that program uses. In this case obviously something went wrong and Notepad++ wasn't able to reset the icon. You shouldn't need to go down this route every time; normally the icon should be changed along with the default associated program.
-
SeinopSys over 11 yearsThis program you suggested edits the "File Type", not the icon of the bound program. Thus, I assume every file type has to be changed individually.
-
Karan over 11 yearsErr... Did you see step #2 above? The File Type Icon is part of the File Type Association, just that in this case they happened to get out of sync on your system for XML files. This program allows you to change everything, but you can simply edit the Default Icon field in your case and leave everything else untouched.
-
Karan over 11 yearsIf you're still having problems with Notepad++ file associations, I found a specific Notepad++ File Association utility for you, but I've never used it myself. FWIW, the official Notepad++ Wiki article on file associations mentions FileTypesMan as the program of choice to fix possible issues, so no idea why it's not working for you. Perhaps something is overriding the change. It would be easy to confirm in the registry if you know how...
-
SeinopSys over 11 yearsI think the problem was that I may have accidentally installed Notepad++ as I would install it on a portable USB device, and it didn't create the registry entries as it would've otherwise. Re-installed without portable option checked, and now it works. Edit your answer and I'll accept it.