Skip to content

derweili/local-addon-open-in-vscode

Repository files navigation

Local Add-on to open project in Visual Studio Code

Getting started

Based on the Local Add-on Generator boilerplate.

Requirements

The addon assumes the Visual Studio Code CLI being installed on the machine. This works on macOS.

Not yet tested on Linux. ** Won't work on Windows. Feel free to create a PR.**

Installation

Clone

Clone the repository into the following directory depending on your platform:

  • macOS: ~/Library/Application Support/Local/addons
  • Windows: C:\Users\username\AppData\Roaming\Local\addons
  • Debian Linux: ~/.config/Local/addons

You can replace 'Local' with 'Local Beta' if you want to create the add-on for Local Beta.

Install Add-on Dependencies

yarn install

Add Add-on to Local

  1. Clone repo directly into the add-ons folder (paths described above)
  2. yarn install (install dependencies)
  3. yarn build
  4. Open Local and enable add-on

Development

External Libraries

Folder Structure

All files in /src will be transpiled to /lib using TypeScript. Anything in /lib will be overwritten.

Development Workflow

If you are looking for help getting started, you can consult the documentation for the add-on generator.

You can consult the Local add-on API, which provides a wide range of values and functions for developing your add-on.

License

MIT

About

Addon for Local to open projects in VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published