You can use this addon for Local 9.x+ on MacOS ONLY to open the site's app/public
folder in a new window in VSCode.
Download the .tgz
file from a release. Navigate to Local → Addons → Installed → Install from Disk and select the .tgz
file. Enable Open in VSCode and restart Local.
Open any site, and in the top-right of the window you should see an "Open in VSCode" button. If it is disabled, the addon cannot find the location of /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code
to work with VSCode.
Clone the repo anywhere you want using:
git clone git@github.com:aubreypwd/local-open-in-vscode.git
Then, cd into the repo and run npm run link
and it will automatically symlink to your Local addons folder and build the package.
then run npm run build
or npm run watch
(requires watchexec
, install with brew install watchexec
) to develop.
The main
branch will be the current development version.
Run npm run dist
to create a package to distribute to release channels on Github.