[Tutorial] How to add your favourite editor to Laragon and the Windows Right-Click Menu


  • administrators
    | 47916 points

    With Laragon 2.1.0, you can use your favourite editor with Laragon and add it to the Right-Click Menu for quick access. In this article, we will add VS Code.

    1. Download VS Code:
      https://code.visualstudio.com/Docs/?dv=win

    1. Extract the downloaded to: {LARAGON_ROOT}\bin\code
    2. Open laragon.ini in Menu > Laragon > Settings file: laragon.ini
    3. Put Editor=PATH-TO-EXE under [preferences]
    [preferences]
    Editor=bin\Code\code.exe
    

    Note: If you extract outside Laragon's installation dir, you must put full path. For example:

    [preferences]
    Editor=C:\editor\Code\code.exe
    
    1. (Optional) Add to Right-Click Menu: Click Tools > Right-Click Menu > Add/Update Code & Terminal
      Note: You must run Laragon as Administrator to do that.

    Very easy huh. That's all forks!


  • administrators
    | 47916 points

    Some pics:

    1. laragon.ini
      0_1474390158354_laragon.ini-Editor-Code-in-laragon.jpg

    2. A Menu Item with caption "Code" will be appeared in Menu > Tools
      0_1474390178460_Laragon-VS-Code.jpg

    3. Tools > Right-Click Menu > Add/Update Code & Terminal
      0_1474391613491_Right-Click Menu.jpg

    1. The Windows Right-Click Menu is now has Edit with Code
      0_1474391402814_Windows Right-Click Menu.jpg

Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.