brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

Can't rename a file outside of the project #12532

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by MarcelGerber Monday Feb 17, 2014 at 19:11 GMT Originally opened as https://github.com/adobe/brackets/issues/6896


  1. Open any project
  2. Select Debug > Open Preferences File
  3. Right click it in the left bar and select Rename

Result: You won't be able to rename it. Expected: You should be able to rename it.

Windows 8.1

core-ai-bot commented 3 years ago

Comment by peterflynn Wednesday Feb 19, 2014 at 06:14 GMT


The problem here is that our rename UI is tried to the jsTree widget. Items not shown in the tree (i.e. items outside the project) thus can't be renamed currently. The right fix is probably to implement a rename UI in the working set as well (that looks & feels as identical to the jsTree UI as possible). That would also fix the odd behavior where initiating a rename from the working set causes focus to jump down to the tree (for files that are inside the project).

Or if we migrate away from jsTree (which we've talked about), then it might be easier to share inline-renaming code between the two.

core-ai-bot commented 3 years ago

Comment by pthiess Monday Feb 24, 2014 at 19:30 GMT


This is a move to backlog -- we have a number of cards regarding working set but I added it to the Project Tree Management card as it seems closely related.@peterflynn If there is a better place please feel free to change or otherwise just close it in here.

Thanks!

core-ai-bot commented 3 years ago

Comment by MarcelGerber Monday Feb 24, 2014 at 19:49 GMT


But I think it would be better to give feedback to the user while this is not supported. This means either showing an error message or just disabling the menu entry on such files.