Analyzing bugs for vscode on Github
For the OSD600 lab3, I am trying to fix a bug for vscode. I found this bug in the issues tab, Rename folder collapses it. The reporter illustrated clearly that when renaming the parent folder of a structure of folders, the folder tree collapsed. I analyzed the code and tried to fix it. I found that it actually deleting the folder structure first and then re-add them to the view with the new name.
When rename the folder name:
The folders get deleted one by one
I don't know why it's done this way, but certainly there's reason for that. What I can do is to add code to expand the folders after they got added to the view.
When rename the folder name:
The folders get deleted one by one
Then it will re-add it with new folder name
This is the code that has been doing the action.
Comments
Post a Comment