Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For example, if I open a text file, notepad++ would open it in 'default' theme. But if I open a php file for instance, it would open it in 'custom_theme1'. I know notepad++ is highly extensible, so I wasn't sure if anybody had ever run across a plugin that could do it. Or could a plugin even be written to do this?

share|improve this question
    
how different should the theme be? you can specify your User-Defined language and apply it –  mreq May 30 '12 at 18:39
    
@petr marek The theme that I want is a custom one that I've added and I am certainly able to manually go to Settings > Style Configurator and choose from the theme drop down list. You said "you can specify your User-Defined language and apply it" > do you have an example how to do that? Sounds like it could provide a possible answer to my question. –  TehBeardMan May 30 '12 at 19:03
    
Select Language from the menu bar and click User-defined. A floating window will open. screencast.com/t/jO6oBPaD –  mreq May 31 '12 at 18:11
    
@peter marek Right I get that, but what I want to do is if I open a php file, I want it to automagically change the editor's theme to a different one (a darker one), but if I open a text file, I want it to change the theme to default. I'm not using any custom defined languages. Sorry if my original question was confusing. –  TehBeardMan May 31 '12 at 19:15
2  
It appears this feature is not a part of notepad++ but has been put in as a feature request. See here: sourceforge.net/apps/ideatorrent/notepad-plus/ideatorrent/idea/… –  에이바 Jun 4 '12 at 18:54

1 Answer 1

up vote 3 down vote accepted

Unfortunately, at this time it appears that this functionality is not a part of Notepad++. However, it has been submitted to the developers as a feature request.

Let Language style change theme, or global bg colour
Written by yakumo-unr the 5 Dec 10 at 01:23.

I would like for a language definition to be allowed to change the global theme for when that language is loaded, and/or at the very least change the global background colour.

http://sourceforge.net/apps/ideatorrent/notepad-plus/ideatorrent/idea/321/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.