This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Rename folder does not update jsTree completely #2551
Comments
Medium priority, assigned to @redmunds |
WebsiteDeveloper
added a commit
to WebsiteDeveloper/brackets
that referenced
this issue
Feb 13, 2013
The problem is that the regular expression requires the string to end with the new name, but for folders there's a "/" there. As a result, the new name is not determined correctly. I will put a pull request later to fix this. |
@DennisKehrig i already submitted a pull adressing this issue |
@WebsiteDeveloper Almost :) Please see my comment |
@WebsiteDeveloper Sorry that I basically replaced your work, I didn't see your pull request before I encountered and fixed the bug myself, otherwise I would have tried your fix and reported back to you. |
FBNC, @redmunds |
Confirmed. Closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I noticed this while working on #2503. Renaming a folder does not update the file paths in Find in Files panel, but it's a problem in ProjectManager.js:
Results:
newName is the same as oldName, and oldName is the name when Brackets session started. So, name change event is never sent for folders.
Notice that the new name is displayed the project tree.
The text was updated successfully, but these errors were encountered: