Corey Johnson
acae9d63ca
fs.directory does not append a trailing '/' to directories
2012-05-01 08:41:35 -07:00
Corey Johnson
24ce2d362a
Add path attr to DirView element
2012-04-30 17:43:25 -07:00
Corey Johnson & Nathan Sobo
5a836f5aaf
Tree view resonds to tree-view:add events
2012-04-30 12:04:17 -07:00
Corey Johnson & Nathan Sobo
d0b255e57b
Focus returns to tree view when a dialog is canceled with escape
2012-04-30 09:25:45 -07:00
Nathan Sobo
abcf71af8b
Focus the root view when canceling the move dialog.
...
This is temporary, because we really want to focus the tree view, but less annoying for now than losing focus entirely.
2012-04-27 18:08:30 -06:00
Nathan Sobo
18ccee32b8
Add a prompt to the move dialog
2012-04-27 17:27:08 -06:00
Corey Johnson & Nathan Sobo
69a76d1b47
Can move files from the tree view
2012-04-27 14:18:55 -07:00
Corey Johnson & Nathan Sobo
4ca75b02c5
Move-dialog overlays the bottom of the RootView instead of appearing next to the element
2012-04-27 10:39:55 -06:00
Corey Johnson
0a39ca25a9
Pressing 'm' in tree view brings up a move dialog
2012-04-26 17:12:56 -07:00
Nathan Sobo
f37017b94c
Test that removing a file updates the view for its containing directory in the TreeView
2012-04-26 15:59:42 -06:00
Nathan Sobo
47c013f817
After each spec runs, make sure there are no subscriptions on directories (which would leak memory)
2012-04-26 15:54:54 -06:00
Nathan Sobo
5996233d96
Un-F
2012-04-26 13:03:54 -06:00
Nathan Sobo
8425fb8d84
When a directory view is collapsed, unwatch its directory and those of all descendant expanded directory views.
2012-04-26 13:00:48 -06:00
Nathan Sobo
cd7c1e970f
Fix spec that wasn't actually testing anything
2012-04-26 12:38:52 -06:00
Nathan Sobo
d6f5a5631c
If temporary file is present in beforeEach, wait 20ms after deleting it to ensure the add event fires
2012-04-26 12:20:18 -06:00
Nathan Sobo
5156a37471
WIP: Tree view spec isn't there yet
2012-04-26 09:32:49 -06:00
Corey Johnson & Nathan Sobo
3ac49e1cd5
add $native.unwatch(path, id)
2012-04-25 18:03:51 -07:00
Corey Johnson & Nathan Sobo
5aed1b012a
PathWatcher executes callback when path is changed
2012-04-25 13:49:53 -07:00
Corey Johnson & Nathan Sobo
3f97d98ef9
Start on directory change events
2012-04-25 11:33:44 -06:00
Nathan Sobo
3fe6a699cc
Pressing enter in TreeView opens selected file or toggles selected directory
2012-04-24 18:19:24 -06:00
Nathan Sobo
7e7d37859f
Right arrow collapses directories in TreeView
2012-04-24 18:08:29 -06:00
Nathan Sobo
48069dc898
Right arrow expands the selected directory in TreeView
2012-04-24 17:31:46 -06:00
Nathan Sobo
9a1d3e00b2
Implement moving-up in tree view
2012-04-24 16:43:51 -06:00
Nathan Sobo
35b68514ed
Down-arrow selects the next entry in the file browser, correctly traversing the file hierarchy
2012-04-24 13:58:37 -06:00
Nathan Sobo
2e49f12119
Don't change the selection when expanding directories
2012-04-24 13:13:22 -06:00
Nathan Sobo
dd736ddf67
TreeView directories can be selected by clicking them. Start on keyboard nav.
2012-04-24 12:51:01 -06:00
Nathan Sobo
3d382955cc
When focus changes to a different editor, highlight its open file in the TreeView
...
Trigger 'active-editor-path-change' event whenever active editor changes or the path of the active editor changes. Rename 'buffer-path-change' to 'editor-path-change' to emphasize that it's the path open in an *editor* that's changing.
2012-04-24 08:51:11 -06:00
Nathan Sobo
a8e476b505
When the directory containing the current active editor's file is expanded, select the file
2012-04-23 17:28:30 -06:00
Nathan Sobo
dc8a9f090a
When a file is clicked in the tree view, it is opened in the active editor
2012-04-23 17:13:05 -06:00
Nathan Sobo
ea6930af54
Expanded/collapsed state of directories is preserved when an ancestor is collapsed
2012-04-23 16:23:57 -06:00
Nathan Sobo
607dfb4987
Expand/collapse directories when their disclosure arrow is clicked
2012-04-23 15:29:16 -06:00
Nathan Sobo
b23785f28f
Display directories first in the tree view. Style file names at same indent as directory names (beyond disclosure arrow)
2012-04-23 15:00:11 -06:00
Nathan Sobo
55c78e9550
Start on TreeView. It renders the entries in the current project's root directory.
2012-04-23 14:20:17 -06:00
Nathan Sobo
634a15cfb1
Move extensions into src/extensions directory
2012-04-23 10:54:56 -06:00