lostintangent / codeswing

VS Code extension for building web applications ("swings") using a interactive and editor-integrated coding environment
https://aka.ms/codeswing
MIT License
978 stars 48 forks source link

Renaming file renames the wrong file #49

Closed Sheraff closed 3 years ago

Sheraff commented 3 years ago

Using

Reproduce

Here's a screencast of the issue

https://user-images.githubusercontent.com/1325721/125069194-b62cef80-e0b6-11eb-994d-42ac69cd73a3.mov

lostintangent commented 3 years ago

Yeah this is actually an issue with GistPad, not CodeSwing. I've noticed that Gist file renaming can be super funky and I'm not sure if it's a GistPad bug or a Gist bug. Let me take a look!

lostintangent commented 3 years ago

I confirmed that this is unfortunately an issue that can sometimes happen with the Gist API. CodeSwing itself doesn't manage file renames. It simply asks the underlying file system provider to do the rename for it, and in the case of gists, that can sometimes fail. I'm going to close this issue, and try to investigate the issue further on the GistPad side. Thanks!