googlearchive / chromedeveditor

Chrome Dev Editor is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps, in JavaScript or Dart. (NO LONGER IN ACTIVE DEVELOPMENT)
BSD 3-Clause "New" or "Revised" License
2.92k stars 411 forks source link

Enhancement - Toggle .* File Visibility #2876

Open ghost opened 10 years ago

ghost commented 10 years ago

Would it be possible to have a toggle button (above or below the file panel) that toggles the visibility of files and directories that begin with a dot?

Most of these files and directories are usually sensitive (.gitattributes, .gitignore, .htaccess, .settings, and so on) and it would be nice to keep them out of the way.

gaurave commented 9 years ago

Thanks for the feedback. We will try to get to it soon.

ussuri commented 9 years ago

@gaurave, closed by accident?

ussuri commented 9 years ago

Perhaps it would make more sense to just make these files harder to edit/delete. If we hide them, some operations become ambiguous. E.g. suppose that you select several adjacent files with some dot files hidden in-between them, and then start dragging the files somewhere else. Do the dot files go with them or not?

ghost commented 9 years ago

@ussuri That's a good point. Typically if files are hidden in an editor (using filters or something similar) then they aren't subject to any file selection etc within the editor, and the only time they are really affected is when they are in a folder that is moved or deleted. So, if CDE does allow .* files to be hidden then I think it should adhere to the same kind of behaviour.

Eclipse and Sublime Text are two good candidates for behavioural studies.