tldraw/vscode
Francois Laberge 913b4dc5d2
Fixes issue with saving files and makes empty files and New TLdraw command work (#258)
* Fixes issue with saving files and makes empty files and New TLdraw command work

* v0.1.16

* v0.1.18

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 19:42:28 +00:00
..
editor Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
extension Fixes issue with saving files and makes empty files and New TLdraw command work (#258) 2021-11-10 19:42:28 +00:00
README.md Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00

@tldraw/vscode

This folder contains the source for the tldraw VS Code extension.

Developing

1. Install dependencies

  • Run yarn from the root folder

2. Build @tldraw/tldraw

  • Run yarn build:packages from the root folder.

3. Start the editor

In the root folder:

  • Run yarn start:vscode.

This will start the development server for the vscode/editor project and open the vscode/extension folder in a new window.

In the vscode/extension window, open the terminal and run:

  • Install dependencies (yarn)
  • Start the VS Code debugger (Menu > Run > Start Debugging)

Open a .tldr file or create a new .tldr file from the command palette.

Publishing

To publish, chat with the team on the Discord channel.

  • Install vsce globally
  • Run vsce login tldraw-org and sign in

In the vscode/extension folder:

  • Run yarn vscode:publish

References