vscode-data-preview icon indicating copy to clipboard operation
vscode-data-preview copied to clipboard

can't to open xlsx files on Windows 10

Open CodeWater404 opened this issue 1 year ago • 0 comments

I also encountered the same problem of not being able to open xlsx files. image

My ide is cursor, here is version infos:

Version: 0.43.5
VSCode Version: 1.93.1
Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0
Date: 2024-11-27T09:11:51.854Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

Data preview version is v2.2.0.

I find some same issues , but they don't seem to reproduce and slove it? I spend hours testing different types of files and found that problem occurred in this special situation in xlsx files:

  • If the xlsx file has only one sheet and only one line of data, it will not be rendered normally.
  • If there are multiple sheets in the xlsx file, and the first sheet has only one line of data, then it will not be rendered normally.

Except for these two cases, xlsx can render normally. I hope this information will be helpful to you.

CodeWater404 avatar Dec 04 '24 07:12 CodeWater404