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

The extension doesn't open for any of the suggested file extensions #91

Open TomasHubelbauer opened 1 year ago

TomasHubelbauer commented 1 year ago

Hi, just installed the latest version of the Excelidraw extension and tried to use it by creating a test.excelidraw, .excelidraw.json and test.excelidraw.png files and opening them, both done from the VS Code Explorer pane. In the .excelidraw and .excelidraw.json cases, the files just opened as usual, as if there was no Excelidraw extension installed at all. In the .excelidraw.png case, I first got a hint that the PNG file was broken and could not be previewed and then VS Code asked me to fall back onto the default text editor, so very similar.

abdukir commented 1 year ago

I can say the same for my end as well. Just installed the extension to my latest VsCode here are my details. I don't know whats wrong with it, whenever i try to open any file related to the extension i get the "Failed to load Document: Error: Unable to load initial data" error

Version: 1.80.1 (user setup) Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771 Date: 2023-07-12T17:22:07.651Z Electron: 22.3.14 ElectronBuildId: 21893604 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19044

stewartshea commented 1 year ago

Ran into a similar issue with gitpod (gitpod code 1.8.0), which uses the openvsx extension registry. I also tried to download and install the extension via the Releases page and install through the vsix file, again with no luck

Gitpod Code
Version: 1.81.0
Commit: 598e5d080e7461be33923ee0d231bef718e5c65c
Date: 2023-08-03T19:07:27.589Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Installed in my local vscode instance and it works fine;

Visual Studio Code
Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:59:55.818Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.2.0-26-generic
micimize commented 8 months ago

Just installed and I had to Developer: Restart Extension Host before the view would render properly