Community
    • Login

    Add Micrisoft Edge to launch new *.html productions

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Leo de VettenL
      Leo de Vetten
      last edited by

      To check my work i.e. index.html I choose “launch in Chrome”. When I choose “launch in Explorer” everything goes wrong. Explorer is insufficient and outdated. Please can you change this item in : “launch in Edge” Or just add it please. Thank you.

      Alan KilbornA Meta ChuhM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Leo de Vetten
        last edited by

        @Leo-de-Vetten

        You can change it yourself by editing shortcuts.xml appropriately (use the existing entries as examples to create a new one).

        1 Reply Last reply Reply Quote 2
        • Meta ChuhM
          Meta Chuh moderator @Leo de Vetten
          last edited by Meta Chuh

          welcome to the notepad++ community, @Leo-de-Vetten

          you will need a little guide, because microsoft edge is a bit tricky.
          it can not be launched directly by running microsoftedge.exe "path_to\yourfile.html" as it is done using internet explorer, firefox and chrome.
          instead we will have to make shell api calls.
          but that’s not difficult, once you’ve read this guide.


          step by step guide - how to add “launch in edge” to notepad++:

          • open the folder %AppData%\Notepad++\ in explorer

          • find the file shortcuts.xml and open it in notepad++ for editing.

          • copy the following line and paste (insert) it anywhere inside the <UserDefinedCommands>section

          <Command name="Launch in Edge" Ctrl="yes" Alt="yes" Shift="yes" Key="69"> shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge $(FULL_CURRENT_PATH)</Command>
          
          • now your shortcuts.xml should look like the screenshot below (plus your ie and other user defined commands):

          Imgur

          • save shortcuts.xml and restart notepad++
            (exit and reopen notepad++ to activate your shortcut changes to the run menu)

          • if you now run “launch in edge” on any file, edge will open and display it, as seen at the screenshot below:

          Imgur

          note: you can also use the keyboard shortcut ctrl+alt+shift+eto launch edge with your file

          good luck and happy html coding 😉👍

          1 Reply Last reply Reply Quote 5
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors