Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Highlight active file on project tree #1822

Closed
acreatist opened this issue Oct 12, 2012 · 11 comments
Closed

Highlight active file on project tree #1822

acreatist opened this issue Oct 12, 2012 · 11 comments
Assignees

Comments

@acreatist
Copy link

When working with files in the project tree, the active (editing now) files get on top. Would be good if they are also highlighted, or noted in the project tree below for better usability when scanning for files to edit.

@peterflynn
Copy link
Member

Coincidentally, I just posted pull request #1823, which offers a command that might suit your needs...

@ghost ghost assigned peterflynn and redmunds Oct 12, 2012
@pthiess
Copy link
Contributor

pthiess commented Oct 15, 2012

Reviewed - assigned to Randy to regress / close.

@redmunds
Copy link
Contributor

@korniholio,

The pull request posted by @peterflynn has now been merged into master. There is now a menu command: Navigate > Show in File Tree. Please try it out and let us know if that fixes the problem for you.

Thanks,
Randy

@acreatist
Copy link
Author

Actually I was thinking more of something like this:

title

Here's the scenario:

I have a set of 15 files I want to edit. As I cannot move them all to the WorkingSetView, I have to select them one by one in the ProjectManager view to edit them. If the files, currently present in the WorkingSetView are somehow highlighted in the ProjectManager view, it will be faster and easier to find the other (not yet present to the WorkingSetView) files in the tree I want to edit. (see attached picture as an example)

@redmunds
Copy link
Contributor

Thank you for the additional details. We currently do not support highlighting multiple file selection, so it would take some work to do that.

FYI, you can have 15 (or more) files in the working set, but size is limited so I think you will only see about 10 at a time and get a scrollbar. Maybe it would help to be able to increase the height of working set? There is also a feature request for being able to sort the files in the working in different ways that might help.

If you're familiar with the Dreamweaver Related Files feature, Josh Hatwich wrote an extension which provides some of that functionality:
https://github.com/jhatwich/brackets-related-files

@redmunds
Copy link
Contributor

This request is interesting, but it sounds more like a user story. Added MTB tag.

@acreatist
Copy link
Author

Actually, I have to agree that this could be threated as a user story. As I think of this, the issue I have could be useful for more devs than me, but could also be tackled with an "edit multiple" or something, ex. select multiple files in the projectView and move them in the workingSet, which could be more helpful in various scenarios, except the one I've encountered.

Right now, user can Shift+Select multiple files in the projectView, the files get highlighted, but either I'm not aware of a multiple open function, or this is a future set functionality.

@peterflynn
Copy link
Member

@korniholio: sorry to prolong the thread, but could you describe your workflow a little bit more? Particularly: why isn't it enough that you can just double-click each file in turn to add it to the working set? Is it just that you want to save a few clicks, or is there some other problem?

Also -- can you tell us more about why you frequently have to load a whole different set of files into your working set in bulk? The working set is remembered when you switch "projects" (the root folder you're viewing)... is that not helpful in your case?

@acreatist
Copy link
Author

@peterflynn - in a quick glance:

I have a large number of html templates, loaded in the project tree. I have to edit a set of these files, and in a frequent basis, this edit includes copying block of html from one html and paste-modify in another 10 html files, still not present in the working set.

So what happens is that the file I'm copying from is in the work set, and then I start to screen the project tree for the other 10 htmls. So I find the 2nd file (lets say at index 20 in the project tree), I'm pasting-modifying, than back to the project tree to find the file on 27th index and so on. On the 10th file I have to find in the tree (lets say consisted of 100 htmls), it would be easier&faster, if the previously opened files are somehow highlighted, so that I know where in the tree I am now.

The other solution for this is multi-select move to workingSet. This way, I can select a bunch of htmls in the projectTree and have them be present in the working set, as this is what working set means - the set of files I want to edit. Right now, the working set panel is more of a history set and not a working set.

I hope I've managed to explain the workflow issue :)

@acreatist
Copy link
Author

@peterflynn, have to say that I've managed to answer to myself what I wanted - a "bulk double-click" in projectView tree.

Right now, if I double-click a file in the ProjectView, it goes to my working set, what I'm ultimately looking for is shift+select a set of files and "Open in Working Set" them, so now I can work with the set of files that I want and not searching for 15 files in the whole 200 files Project Tree.

Thanks, always helps when someone makes me describe what do I want!

@pthiess
Copy link
Contributor

pthiess commented Jan 6, 2013

Created Trello Card #347

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants