vscode-nbt icon indicating copy to clipboard operation
vscode-nbt copied to clipboard

Unable to edit non map NBT files (such as server. bat) properly

Open MC-Nirvana opened this issue 11 months ago • 3 comments
trafficstars

Unable to open non map NBT files (such as server. bat) properly. After opening, VSCode is completely blank, with only a blue scrollbar at the top (similar to the blue scrollbar displayed when querying VSCode extension stores)

System info: Operating System: Microsoft Windows 11 26120.2510 VSCode version: 1.96.0 Extended version: 0.9.3

Log output:

Creating NBT document [uri={"$mid":1,"fsPath":"d:\\Documents\\个人项目\\应许之世\\servers.dat","_sep":1,"external":"file:///d%3A/Documents/%E4%B8%AA%E4%BA%BA%E9%A1%B9%E7%9B%AE/%E5%BA%94%E8%AE%B8%E4%B9%8B%E4%B8%96/servers.dat","path":"/d:/Documents/个人项目/应许之世/servers.dat","scheme":"file"}]
Read file [length=92, scheme=file, extension=dat]
Parsed NBT [compression=none, littleEndian=false, bedrockHeader=none]

Demo image: image

MC-Nirvana avatar Dec 16 '24 20:12 MC-Nirvana

原因可能是这个:https://github.com/misode/vscode-nbt/issues/55 因为访问超时(下载渲染资源)

wifi-left avatar Dec 22 '24 05:12 wifi-left

原因可能是这个:#55 因为访问超时(下载渲染资源)

但目前没法解决,因为我根本找不到设置项

MC-Nirvana avatar Jan 15 '25 02:01 MC-Nirvana

经过测试,0.6.8确实可以正常打开文件。但新版不行(应该就是因为raw.github.com被拦截导致的)

MC-Nirvana avatar Jan 15 '25 03:01 MC-Nirvana