excalidraw / excalidraw-vscode

Excalidraw for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor
MIT License
457 stars 55 forks source link

Ability to create a new excalidraw diagram from within vscode #116

Open kannanekanath opened 8 months ago

kannanekanath commented 8 months ago

As of Jan 2024 to create a new excalidraw diagram I have to open console/finder and touch/create a file like x.excalidraw then go to vscode to open the file. This seems like additional work for something as simple as one click.

It might be easier/better to have an option like "Create new excalidraw diagram" when I press Ctrl + Shift + P. This way I don't have to leave the window at all.

lorefnon commented 7 months ago

You can just create a file within vscode (using either File > New file ... or Cmd Palette > Create: New File or file explorer's new file button) with .excalidraw extension - the extension will work as expected.

brian-xu-vlt commented 2 months ago

Came here to precisely open a PR for this!! Thanks!