Menu

Automatically display the IE source as HTML

MagnuM
2007-08-01
2012-11-13
  • MagnuM

    MagnuM - 2007-08-01

    Hello,

    Does anyone know, how can I make NP++ to display the Internet Explorer's View Source result as HTML automatically? I have integrated NP with IE View Source for a better debugging of web pages.

    Also the text I'm searching with Ctrl+F, is not remembered if I close NP.

    Thanks in advance.

     
    • MagnuM

      MagnuM - 2007-08-31

      Well I have resolve it.

      You need to create a *.reg file, with the following lines, or something similar:
      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
      @="C:\\Programs\\Notepad++\\nppIExplorerShell.exe"

      And you need to get nppIExplorerShell.exe and put it in your Notepad++ directory.

       
      • ryan behrman

        ryan behrman - 2008-08-11

        <quote>And you need to get nppIExplorerShell.exe and put it in your Notepad++ directory. </quote>

        Where can I get this from? I have searched for the plugin in notepad++ and also via search engines, but I can't find it!

        Thanks!

        Ryan

         
      • Dennis McCunney

        Dennis McCunney - 2008-08-11

        >> And you need to get nppIExplorerShell.exe and put
        >> it in your Notepad++ directory. 

        > Where can I get this from? I have searched for the
        > plugin in notepad++ and also via search engines,
        > but I can't find it!

        If you can't find it elsewhere, it's in the Notepad++ Subversion repository:
        http://notepad-plus.svn.sourceforge.net/viewvc/notepad-plus/PowerEditor/bin/nppIExplorerShell.exe?view=markup&pathrev=1
        ______
        <b>Dennis</b>

         
    • ryan behrman

      ryan behrman - 2008-08-11

      Thanks! :)

       
    • MagnuM

      MagnuM - 2007-08-03

      So nobody knows anything about it?

       
    • MJG

      MJG - 2007-08-07

      If you mean that the text should have HTML highlighting in Notepad++ when you open a web page via "View Source", the problem might be that you are looking at a page whose extension (e.g., .asp) is not registered with Notepad++ as an HTML file.

      To fix that, open the styler configurator, click on HTML in the left-hand list, and add the extensions you want to the "User ext" field below, without periods and separated by spaces.  --Joel

       
    • MagnuM

      MagnuM - 2007-08-09

      Well, I don't thik thats the problem.

      Shouldn't I have then the html pages/files displayed with HTML highlighting in Notepad++, when I'm opening via "View Source"? And the other pages with extension like PHP and ASP should be displyed then with their own highlighting already defined in Styler Configurator.  Why should I register the PHP/ASP files as a HTML file, when they have their own settings already registered.

      I also have a colleague of mine which has an older version of Notepad++ installed and he doesn't have anything defined manually in Styler Configurator, and if he is viewing a page via "View Source", his text is highlighted as HTML by default.

       
    • MJG

      MJG - 2007-08-14

      Then maybe it's a bug, and you should post a bug report with how you duplicate it.

      I can't help you; I use a different browser.  Maybe someone who uses IE with that feature set to open Notepad++ knows what you are talking about.  --Joel

       
    • Nobody/Anonymous

      I checked the "set NP++ to View Source from IE" option on installation of 4.2 (as with earlier versions). When I View Source from within IE NP++ will pop up showing the current IE webpage in HTML highlighting, but the file itself has no extension. This is a problem when I close NP++ and open it later. The file _won't_ be highlighted in HTML mark-up then. But for me it works when opening (again) directly from IE.

       
    • MagnuM

      MagnuM - 2007-08-22

      I didn't use the installer, only the program files in zip format, so I have unpack them, and use it like that. Where can I find the "set NP++ to View Source from IE" option now?

       
      • MJG

        MJG - 2007-08-29

        The installer is probably setting some registry values.  You might find the info on the web site.

        Maybe someone who has installed the option can tell you.  Otherwise, the only suggestion I can make is to consider using the installer; I didn't enable this option because I am not using IE.  --Joel

         
MongoDB Logo MongoDB