Corey Johnson & Nathan Sobo
3213a91c79
No longer need to wait for fs events in Tree View spec
2012-10-25 14:47:23 -07:00
Corey Johnson
a8d94f37f7
core:close events close the Tree View (but not the entire window)
2012-10-25 14:10:33 -07:00
Corey Johnson
0501eee7ab
Remove rogue tree-view.coffee file
2012-10-25 14:10:33 -07:00
Corey Johnson
2af29c9934
Extensions have a src and specs directory now. Move existing extension specs.
...
Move the extensions spec code inside of the extension's spec directory. Move source code to the extension's src directory
2012-10-25 11:48:13 -07:00
Nathan Sobo
1a8305ee2a
Fix typo/exception in TreeView's handling of core:close event
2012-10-25 12:00:31 -06:00
Corey Johnson
e20832aa50
Tree View uses core:close core:confirm core:cancel and adds tool-pane:unfocus
2012-10-23 13:21:34 -07:00
Corey Johnson & Nathan Sobo
eff289de37
Use @command in TreeView
2012-10-19 12:45:05 -06:00
Kevin Sawicki
5bf951d96f
Create ScrollView super class
...
Binds support for page up, page down, move to top,
and move to bottom in the initialize method.
2012-10-12 09:21:35 -07:00
Kevin Sawicki
f6c29a1d51
Add core:page-up and core:page-down support to tree view
2012-10-05 15:50:32 -07:00
Kevin Sawicki
4b20a26974
Add core:move-to-top and core:move-to-bottom support to tree view
2012-10-05 15:30:54 -07:00
Nathan Sobo
082a666a92
TreeView's move-up/down responds to core:move-up/down
2012-10-05 10:07:37 -10:00
Kevin Sawicki
66c13ce2c9
Create hasFocus method
2012-10-03 10:00:23 -07:00
Kevin Sawicki
2381cb650f
💄
2012-10-03 09:51:49 -07:00
Kevin Sawicki
09bf000d8f
Select created folder in tree view
2012-10-03 09:49:53 -07:00
Kevin Sawicki
58515b2097
Focus tree view after creating a directory
2012-10-03 08:20:06 -07:00
Kevin Sawicki
8c1125457b
Persist scrollTop value of tree view
...
This will be set whenever attached
2012-09-18 15:15:06 -07:00
Nathan Sobo
68effe3303
Make TreeView focus the active editor when a file is selected w/ the keyboard
2012-09-18 13:00:16 -06:00
Nathan Sobo
d8ea46ee5b
Use atom.confirm when for confirmation when deleting a file in the TreeView
2012-08-29 20:46:08 -05:00
Corey Johnson & Nathan Sobo
63b52e761d
TreeView works when the Project's rootDirectory is null
2012-08-28 16:51:14 -07:00
Nathan Sobo
c3e748a17c
WIP: Use rake to start compiling resources (like require.coffee)
2012-08-26 16:29:46 -05:00
Nathan Sobo
c2c8724ad0
Initial commit
2012-08-10 13:32:19 -06:00
Corey Johnson
81f83482b0
Rename File.getName and Directory.getName to .getBaseName
2012-08-02 11:37:49 -07:00
Corey Johnson & Nathan Sobo
69d059d24c
Make TreeView.moveDown work for nested/empty directories
...
If the selected entry is the last entry in a directory that *itself* is the last entry of its parent, we need to search upward through our ancestors for the first directory that has a following sibling entry. Also, if the directory is empty, the attempt to select its first element will fail, so we need to search for a next sibling as well.
2012-07-27 21:27:55 -06:00
Nathan Sobo
334ba6ba82
Ctrl-meta-1 reveals the active file in the tree view
2012-07-26 14:10:02 -06:00
Corey Johnson
9722bde747
don't assume DirectoryViews have entries when serializing
2012-07-25 16:04:08 -07:00
Corey Johnson
c91e28071a
Add deactivate to TreeView
2012-07-25 15:16:13 -07:00
Corey Johnson
70dfdc6cdd
a TreeView without a root path can be serialized
2012-07-25 15:16:13 -07:00
Nathan Sobo
830935cdb8
Kill old TreeView bindings. Ctrl-1 is king.
2012-07-20 18:59:44 -06:00
Nathan Sobo
e8a892ee3e
Start implementing "tool-panel" keymap scheme
...
Tool panels will be mapped to ctrl-# bindings. If the panel is focused, the # binding closes it. Otherwise the # binding shows it (if needed) and focuses it. The esc key unfocuses the panel, but does not necessarily close it. Meta-w always closes the panel.
This is the scheme. Right now we only have 2 panels:
Command Panel: Ctrl-0, esc still hides it
Tree View: Ctrl-1, esc just unfocuses it
2012-07-20 17:56:36 -06:00
Nathan Sobo
6d7a6f9a92
💄 Replace editor.getBuffer().getPath() w/ editor.getPath()
2012-07-04 12:40:17 -06:00
Nathan Sobo
39ce15c3fa
Merge branch 'master' of github.com:github/atom
2012-07-04 12:34:56 -06:00
Nathan Sobo
c90c2e80d6
Replace @buffer reference on Editor with @getBuffer method
2012-07-04 12:34:44 -06:00
Corey Johnson
3aaa8ad8f0
TreeView's add and move create intermediate directories as needed
2012-07-03 15:34:34 -07:00
Corey Johnson
2cb3a0ba69
Move extension keymap files into extension directory
2012-07-03 12:59:51 -07:00
Nathan Sobo
bd5c1f8694
Rename RootView.activeEditor -> getActiveEditor
2012-07-02 19:46:33 -06:00
Corey Johnson
c3d7d3566f
Buffer listens for changes to file and triggers 'contents-change' event
2012-06-29 15:09:31 -07:00
Nathan Sobo
22515e7ba0
RootView.open takes an 'allowActiveEditorChange' option
...
When the 'allowActiveEditorChange' option is true, RootView will try to activate an existing edit session for the given path on *any* editor, and switch focus there. This will be used by the fuzzy-finder for the meta-b option, which should open the chosen buffer on the editor that contains it, even if it isn't currently active.
2012-06-29 09:48:16 -06:00
Kevin Sawicki
b5d08ffcf3
Add missing 'r' in scrollToEntry method name
2012-06-14 22:15:28 -07:00
Kevin Sawicki
e6473b63cf
Correct typo in delete detailed message
2012-06-13 14:38:05 -07:00
Nathan Sobo
f000686f07
Method name 💄
2012-06-13 11:49:01 -06:00
Corey Johnson
7364ea79cc
TreeView serializes its attached state
2012-06-04 16:02:50 -07:00
Nathan Sobo
2baf374937
Newline at end of file 💄
2012-06-01 14:01:00 -06:00
Corey Johnson
399fc71b3c
Make Atom SpacePen view's default to empty object (where needed)
2012-05-16 10:35:50 -07:00
Corey Johnson & Nathan Sobo
af65bd785c
fix test failures
2012-05-11 16:06:42 -07:00
Corey Johnson & Nathan Sobo
d51b229d56
When the editor buffer changes and the path is not visible in the TreeView, It selects the closes ancestor entry of that file.
2012-05-11 15:44:18 -07:00
Corey Johnson & Nathan Sobo
2f86a3a6e5
TreeView starts with root being selected
2012-05-11 14:31:48 -07:00
Nathan Sobo
897f505e4f
Meta-/ (tree-view:toggle) attaches / detaches the TreeView
2012-05-08 15:35:03 -06:00
Nathan Sobo
79315b0ef6
Merge branch 'master' of github.com:github/atom
...
Conflicts:
static/command-panel.css
2012-05-08 15:11:27 -06:00
Nathan Sobo
d181cdedbd
Handle errors when attempting to add a file from the TreeView
2012-05-08 15:08:15 -06:00
Nathan Sobo
a59c96d3a9
Flash red and show an error message when there's an error on moving a file
2012-05-08 14:18:21 -06:00