Chris Wanstrath
a001be87e4
activeWindow.project and project.paths array
2011-09-15 00:35:46 -07:00
Chris Wanstrath
34b85b1654
kill unused menu items
2011-09-15 00:15:45 -07:00
Chris Wanstrath
d50b9722a0
commas, lolz
2011-09-15 00:14:58 -07:00
Corey Johnson
d299a64db2
don't remove dirs corey
2011-09-14 13:14:38 -07:00
Corey Johnson
486716f48c
cleaning shit up
2011-09-14 12:13:45 -07:00
Corey Johnson
34cdcdce4a
on launch, reopen files.
2011-09-14 11:45:34 -07:00
Corey Johnson
0dfd813e21
get takes a default value
2011-09-14 11:42:07 -07:00
Corey Johnson
7765fd06a8
Added exists
2011-09-14 11:41:04 -07:00
Corey Johnson
5f44dad5c2
When everything is done, send a loaded message.
...
Or maybe plugins should have a `appDidLoad` method
or something.
2011-09-14 11:40:49 -07:00
Corey Johnson
ef3fc1d278
Tab tells editor to close file. Tab is then
...
notified about closer.
This is in prep for reopening files on app
relaunch.
2011-09-13 16:44:30 -07:00
Corey Johnson
f599058a56
store project drawer state. this code makes me
...
shudder and will need a massage.
2011-09-13 15:54:46 -07:00
Corey Johnson
3843285eba
opening file/dir works again.
...
but I don't like it. I feel like opening a file or
directory should create a new window, unless the
file or directory you are opening is contained in
the current projects dir.
2011-09-13 11:11:07 -07:00
Corey Johnson
4f55f4d4a0
Added toggle to Pane. Makes more sense there.
...
Also made pane be more jquery'y
2011-09-12 17:50:17 -07:00
Corey Johnson
5ae4975e98
don't think we need this code anymore
...
A window's cad should be constant.
2011-09-12 13:39:50 -07:00
Corey Johnson
e5efaffdb4
On boot, open up the most recently opened file/dir
2011-09-12 12:25:25 -07:00
Corey Johnson
a65d081855
Store the last opened path.
...
Just throwing stuff into localStorage seems
sloppy. Maybe we just need some guidelines to
follow.
2011-09-12 12:24:50 -07:00
Corey Johnson
33048bc971
Move the index file to the root of the resources
...
dir.
This will stop the DOM errors for localStorage!
2011-09-12 12:18:23 -07:00
Chris Wanstrath
0b66c5483b
open and save files as utf-8. fixes #23
2011-09-11 02:41:19 -07:00
Chris Wanstrath
9cbc801eeb
weird, why isn't for a keyword?
2011-09-10 22:18:47 -07:00
Chris Wanstrath
37c6e4f64e
since we're being opionated
2011-09-10 00:09:50 -07:00
Chris Wanstrath
2f2ab2697f
rely even less on cwd
2011-09-09 23:49:56 -07:00
Chris Wanstrath
25219b8516
fix for different projects being open in different windows
2011-09-09 23:46:41 -07:00
Chris Wanstrath
918fbe5db9
de-parens
2011-09-09 23:42:09 -07:00
Chris Wanstrath
aaf2e63dc5
you bastard. how do you not use Cmd-`?
2011-09-09 23:34:51 -07:00
Corey Johnson
d501e85a46
Remove trailing whitespace on save. Fixes #18 .
2011-09-09 16:36:10 -07:00
Corey Johnson
89855a6da2
showing invisibles by default.
2011-09-09 15:44:36 -07:00
Corey Johnson
9b8f1d00f0
some files do not have extensions
2011-09-09 15:24:13 -07:00
Corey Johnson
db0286f391
only send events to AtomWindows. Fixes #16 .
2011-09-09 15:05:19 -07:00
Corey Johnson
bc616d05e7
Got rid of the untitled tab.
...
It still gives you an empty editor document. I'd
like to get rid of this too and maybe show a
"recently opened" window.
2011-09-09 14:19:56 -07:00
Corey Johnson
475d199052
I don't think we need this anymore? It works for
...
me with the default timeout of 1.
2011-09-09 11:50:52 -07:00
Corey Johnson
b4ae8c29b7
overflow on the project drawer makes it scroll
2011-09-09 11:23:48 -07:00
Chris Wanstrath
94f4c5539a
tweak spacing in project drawer
2011-09-08 22:35:06 -07:00
Corey Johnson
0e8dbd0397
This was causing errors. I don't even get how this
...
would work.
Also, this fixed the "Yellow screen on first load"
but I was having.
2011-09-08 20:09:40 -07:00
Corey Johnson
108f0ab142
@defunkt put that in your ~/.atomicity file, it's
...
erring in my console!
2011-09-08 20:09:40 -07:00
Chris Wanstrath
4f1397ef3c
make _.js work in strict mode
2011-09-08 18:04:33 -07:00
Chris Wanstrath
c69ac0f49a
require() loads js in strict mode
...
Main advantage: variables won't accidentally
leak into the global scope.
$ cat gg.js
bad = true
https://img.skitch.com/20110909-kry3pm4ask5qhj5rg43yb37tci.png
2011-09-08 18:04:23 -07:00
Corey Johnson
1cc3a61172
project drawer twiddles
2011-09-08 16:29:06 -07:00
Corey Johnson
3b0c10ccf9
resource dir is where we want to be
2011-09-08 16:28:53 -07:00
Chris Wanstrath
7a6ea1dfac
keymap for tabs. ⌘-Shift-[, ⌘-Shift-], ⌘-1, ⌘-2, etc
2011-09-08 02:23:22 -07:00
Chris Wanstrath
e5ccae5bd9
keymap values can be functions
2011-09-08 02:21:29 -07:00
Chris Wanstrath
1966d92c7d
require.resolve tests
2011-09-08 01:59:20 -07:00
Chris Wanstrath
6ec348068c
use require.paths when resolving
2011-09-08 01:59:20 -07:00
Chris Wanstrath
22abf6497c
make expandPath fit in
2011-09-08 01:59:20 -07:00
Chris Wanstrath
f293966a70
Command-Ctrl-T to run Atomicity's tests. Output is in the console.
2011-09-08 01:59:17 -07:00
Chris Wanstrath
e5a5c422a4
subtle indentation error
2011-09-08 01:00:01 -07:00
Chris Wanstrath
32f7a080ef
upgrade ace and pilot to newest
2011-09-08 00:43:51 -07:00
Chris Wanstrath
7ea2efaf06
delete the editor session when closing a tab
2011-09-08 00:41:41 -07:00
Chris Wanstrath
c3dc1cc3eb
detect indentation, tabs vs spaces
2011-09-08 00:37:40 -07:00
Chris Wanstrath
10d02d966b
disable ace workers
2011-09-08 00:29:07 -07:00
Corey Johnson
a9ff117e44
Ideas for keybinding syntax
2011-09-06 11:59:26 -07:00