Nathan Sobo
2c4da1b8dd
Merge branch 'snippets' into dev
...
Conflicts:
src/app/package.coffee
src/packages/snippets/src/snippets.coffee
2013-01-09 13:10:11 -07:00
Nathan Sobo
e33f93b40c
Load snippets from TextMate bundles
...
There's still a bunch of holes in this. TextMate snippets have features
that we don't support yet. But the basic ones should now work.
2013-01-09 11:43:11 -07:00
Kevin Sawicki
fee1e7bc8b
Escape ext in RegExp from fs.base
2013-01-08 13:31:37 -08:00
Kevin Sawicki
594813be34
Escape path in RegExp from fs.directory()
2013-01-08 13:30:41 -08:00
Nathan Sobo
a9bb4ea163
When loading a package, honor the 'keymaps' manifest in package.json
...
Also, add a spec to cover the loading of keymaps in `atom-spec` and
reset the `keymap`'s internal data after each spec gets run to prevent
test pollution with keymaps.
2013-01-03 15:17:09 -07:00
Kevin Sawicki & Nathan Sobo
bcde77dd0e
Load keymaps from cson
...
All existing .coffee keymaps are now .cson and package
keymaps are now located in a keymaps folder at the root of
the package.
2013-01-02 16:10:46 -08:00
Kevin Sawicki
183a6d8e8b
Add helper for markdown extension to fs
2012-12-31 13:49:40 -08:00
Nathan Sobo
fa7bcfe51b
Bundle a themes directory so we don't depend on ~/.atom/themes
...
We'll look first in the user themes directory, then in the built-in
themes directory. This allows us to default to 'IR_Black' and not crash
if the user doesn't setup their `~/.atom/themes` directory.
2012-12-31 12:08:36 -06:00
Kevin Sawicki
ae6039e74d
Add octicons to fuzzy-finder
...
Also place file base name first followed by
directory path in darker color
2012-12-26 20:13:53 -08:00
Corey Johnson & Kevin Sawicki
a6a05b6ff4
Remove directories from fuzzy-finder
2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
404f637101
Populate fuzzy-finder asynchronously
2012-12-12 12:26:39 -08:00
Kevin Sawicki
a1f9e061bc
Remove native.list
...
Use native.traverseTree instead from fs.list
and fs.listTree
2012-10-09 17:41:33 -07:00
Kevin Sawicki
8b61e6a9df
Split out file and directory callbacks
2012-10-09 17:41:32 -07:00
Kevin Sawicki
51a41a9a72
Add native traverseTree
2012-10-09 17:41:32 -07:00
Kevin Sawicki
7ab088df8b
Check recurse flag before verifying path is directory
...
Avoid an unnecessary native call if recursing into the current
path has already been avoided.
2012-10-08 11:47:48 -07:00
Corey Johnson & Nathan Sobo
bd1982ede1
Nix fs.async.* methods. They aren't needed now.
2012-08-30 16:12:15 -06: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 & Nathan Sobo
1a243adfcf
All specs pass w/ TextMateGrammar for tokenization (auto-indent disabled)
2012-08-03 12:00:05 -06:00
Corey Johnson
4cf4456635
Add fs.makeTree
2012-07-03 14:46:45 -07:00
Corey Johnson
fc660c2790
Add fs.split
2012-07-03 14:44:41 -07:00
Corey Johnson
08b0a686ed
fs.directory returns empty string if path has no parent directory
2012-07-03 14:43:56 -07:00
Corey Johnson & Nathan Sobo
6ebe75c0bd
Add fs.md5ForPath
2012-07-02 18:19:16 -06:00
Nathan Sobo
8c740b09e6
Add fs.lastModified
2012-07-02 17:44:12 -06:00
Nathan Sobo
79d9faba58
Make fs.isFile return false for null/undefined paths
2012-06-27 07:57:05 -06:00
Nathan Sobo
2cb993760b
Make fs.exists return false for null/undefined paths
2012-06-27 07:56:02 -06:00
Nathan Sobo
2baf374937
Newline at end of file 💄
2012-06-01 14:01:00 -06:00
Corey Johnson & Nathan Sobo
289193787e
Add fs.traverseTree
2012-05-08 17:45:29 -07:00
Corey Johnson
545671a641
fs.isFile(path) returns false if given path does not exist
2012-05-08 13:02:14 -07:00
Corey Johnson
0227b11bf3
Fix syntax error in fs.base
2012-05-01 14:26:32 -07:00
Corey Johnson
cb0e576949
Add fs.extension
2012-05-01 14:07:05 -07:00
Corey Johnson
ee51a72721
fs.directory matches commonjs spec
2012-05-01 10:00:13 -07:00
Corey Johnson
acae9d63ca
fs.directory does not append a trailing '/' to directories
2012-05-01 08:41:35 -07:00
Corey Johnson & Nathan Sobo
69a76d1b47
Can move files from the tree view
2012-04-27 14:18:55 -07:00
Corey Johnson
fbcd8e43a0
Add fs.makeDirectory
2012-04-26 17:12:20 -07: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
Corey Johnson
8f5ffe2e65
jscocoa is no longer a thing
2012-03-01 16:09:37 -08:00
Corey Johnson
e874512284
Move atom.native to $native
2012-03-01 15:44:36 -08:00
Corey Johnson & Nathan Sobo
b37b45b4b1
atom variable holds all global state and is shared across contexts.
2012-02-28 13:14:35 -08:00
Corey Johnson
71cab248cf
rename listFiles to list
2012-02-27 13:42:54 -08:00
Corey Johnson
8cbf4331e4
Remove references to OSX from fs.coffee and make fs specs pass.
2012-02-27 11:38:25 -08:00
Corey Johnson
a540bbc6a9
Make more native methods
2012-02-22 16:08:30 -08:00
Corey Johnson
0ec5c9a4fa
Add fs.listDirectoryTree
2012-02-22 12:00:41 -08:00
Corey Johnson
d666e73cfa
Add list to $native
2012-02-21 15:39:35 -08:00
Corey Johnson
82dac0e554
Building Atom with Chrome
2012-02-21 14:36:59 -08:00
Corey Johnson & Nathan Sobo
5293ba7469
Add fs.join
2012-01-05 12:01:55 -08:00
Nathan Sobo
629c1ef239
If passed a directory path, fs.directory returns the path it is given (not the parent dir)
2012-01-04 19:07:55 -07:00
Nathan Sobo
80e4fda2f9
Filter out directory paths for FileFinder in Objective-C instead of JS.
...
Rename FileSystemHelper-contentsOfDirectoryAtPath… to -listFilesAtPath to make it clear that we're only listing files, not subdirectories. This is a fairly special purpose method but it saves us from calling back into objective-c a ton of times to filter them in JS, and makes bringing up the file finder ~2x as fast.
2012-01-04 18:22:22 -07:00
Nathan Sobo
be0fa84f1f
Move fs support methods out of AtomController into FileSystemHelper
2012-01-04 18:01:31 -07:00
Nathan Sobo
40e629b0ff
Remove benchmarking calls.
2012-01-04 13:30:26 -07:00