Skip to content

WSL2 Laravel Sail - Visual Studio Code editor #23

Answered by WalterWoshid
wit3 asked this question in Q&A
Discussion options

You must be logged in to vote

@wit3 yes, add this to your .env file:

EDIT:

WSL2 - VSCode (Remote)

IGNITION_EDITOR=vscode-remote
IGNITION_LOCAL_SITES_PATH="wsl+Ubuntu-20.04/home/path/to/project"
IGNITION_REMOTE_SITES_PATH=/var/www/html

WSL2 - VSCode (Local)

IGNITION_EDITOR=vscode
IGNITION_LOCAL_SITES_PATH=/wsl$/Ubuntu-20.04/home/walter/Projects/PHP/my-project

WSL2 - PhpStorm

IGNITION_EDITOR=phpstorm
IGNITION_LOCAL_SITES_PATH=//wsl$/Ubuntu-20.04/home/walter/Projects/PHP/my-project
IGNITION_REMOTE_SITES_PATH=/var/www/html

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@wit3
Comment options

@WalterWoshid
Comment options

@WalterWoshid
Comment options

@wit3
Comment options

@WalterWoshid
Comment options

Answer selected by wit3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants