Commit Graph

4299 Commits

Author SHA1 Message Date
Nathan Sobo
37f0aa3f90 Replace window.requireExtension with atom.loadPackage
The goal is that `loadPackage` will be the go-to place for loading all kinds of resources out of directories. `requireExtension` was only designed to load and activate extension modules.
2012-12-18 19:47:20 -07:00
Nathan Sobo
cdc1fdf7d7 💄 for atom.coffee. Preparing the LZ for atom.loadBundle 2012-12-18 15:41:57 -07:00
Nathan Sobo
e2457b90ac Disable extensions w/ config.core.disabledExtensions
This replaces the `config.core.extensions` array with just an array of the extensions you don't want to load. The previous solution was attempting to allow the user to control extension load order, but we're not actually sure that's a good idea and this is simpler.
2012-12-17 21:06:36 -07:00
Nathan Sobo
fc9bf38a2a *Must* use get and set to access config values.
The `config` object no longer stores config properties directly. Instead it stores them on an internal `settings` object, which makes it easier to serialize settings without getting them mixed up with non-setting state on the `config` object.
2012-12-17 20:56:37 -07:00
Nathan Sobo
b82fe25b99 When observing a key path, compare its new & old values structurally 2012-12-17 19:00:47 -07:00
Nathan Sobo
a7d1a29748 Use config.get/set methods. config.update now takes no args. 2012-12-17 18:52:20 -07:00
Corey Johnson & Nathan Sobo
bc49be6c2c Move project.ignoredNames to config.core.ignoredNames 2012-12-17 16:54:09 -08:00
Corey Johnson & Nathan Sobo
a65a81fc53 Remove requireExtension calls from .atom/defaultConfig.coffee 2012-12-17 16:53:44 -08:00
Corey Johnson & Nathan Sobo
0c12929007 💩 2012-12-17 16:38:23 -08:00
Corey Johnson & Nathan Sobo
f62ef2e68b Lower inputThrottle on Select Lists to 50ms 2012-12-17 16:37:27 -08:00
Corey Johnson & Nathan Sobo
9f8547a8da Add config.fuzzy-finder.ignoredNames 2012-12-17 16:37:27 -08:00
Corey Johnson & Nathan Sobo
6aafb73389 Add get and set to config 2012-12-17 16:37:27 -08:00
Kevin Sawicki
6183680d15 Don't bubble up up/down events triggered on preview list 2012-12-17 16:37:27 -08:00
Kevin Sawicki
d13c2c265a Generate tags in cef directory 2012-12-17 16:37:27 -08:00
Kevin Sawicki
62ddf8219f Trim struct: prefix in display output 2012-12-17 16:37:27 -08:00
Kevin Sawicki
f06d4519ca Only expect prefix when there are 5 or more segments 2012-12-17 16:37:27 -08:00
Kevin Sawicki
af99bac30a Support opening project outline view without open editor 2012-12-17 16:37:27 -08:00
Kevin Sawicki
57e45883bb Don't reuse buffer paths as project paths 2012-12-17 16:37:27 -08:00
Kevin Sawicki
9dbf07d81e Update event name in outline-view keymap 2012-12-17 16:37:27 -08:00
Kevin Sawicki
194fffd9cd Don't generate tags for spec files 2012-12-17 16:37:27 -08:00
Kevin Sawicki
025122d642 Add project outline view with all tags
Opened via meta-J and limited to a maximum
of 10 tags similar to fuzzy-finder.
2012-12-17 16:37:27 -08:00
Nathan Sobo
6923d6a134 More progress / changes to config / extension docs 2012-12-17 17:34:38 -07:00
Kevin Sawicki
c957d94655 Add config doc to .github file 2012-12-17 12:47:10 -08:00
Nathan Sobo
d9acfe8f7e Start on Extensions documentation. Formatting tweaks. Other fixes. 2012-12-16 22:15:15 -07:00
Nathan Sobo
04ab7fa469 Make markdown preview ctrl-m, since meta-m *minimizes* 💩 2012-12-16 22:14:33 -07:00
Nathan Sobo
7f84eff16a 💄 2012-12-16 20:15:55 -08:00
Nathan Sobo
de1178b38a Start DDD (documentation-driven-development) for theming & config
This document talks about a lot of things that don't work yet. The purpose is to write down my ideas in a format that will be useful both now and later.
2012-12-16 18:48:21 -08:00
Nathan Sobo
3f6effcb51 Fix the benchmarks by assigning config defaults 2012-12-16 12:21:42 -08:00
Nathan Sobo
2892ec9ecf Put user extensions directory (~/.atom/extensions) on the load path 2012-12-16 12:14:39 -08:00
Nathan Sobo
4538a70859 Add config.editor.autosave 2012-12-16 11:30:06 -08:00
Nathan Sobo
d311dac39f 💄 2012-12-16 11:29:52 -08:00
Nathan Sobo
001a6500c6 Config requires all non-banged extensions listed in core.extensions 2012-12-16 11:25:52 -08:00
Nathan Sobo
bc7dc5d911 💄 2012-12-16 11:24:55 -08:00
Nathan Sobo
20bd670d8e 💄 2012-12-16 11:06:47 -08:00
Nathan Sobo
64ff05d481 Simplify config.core.extensions array 2012-12-14 17:14:58 -08:00
Nathan Sobo
b7fd9debd6 Only call once after registering extensions 2012-12-14 17:03:12 -08:00
Corey Johnson & Nathan Sobo
cc44508b58 Register extensions in core.extensions on Config.load 2012-12-14 16:38:44 -08:00
Corey Johnson & Nathan Sobo
6b12288a82 💩 2012-12-14 16:38:22 -08:00
Corey Johnson & Nathan Sobo
e6362af711 Rename subscription.destroy to subscription.cancel 2012-12-14 16:38:04 -08:00
Corey Johnson & Nathan Sobo
54c0c277ed 💩 2012-12-14 15:47:51 -08:00
Corey Johnson & Nathan Sobo
8a675fd538 Use config.update w/ a key path everywhere we update the config 2012-12-14 15:21:36 -08:00
Corey Johnson & Nathan Sobo
827d6b57fb Use observeConfig in Editor 2012-12-14 15:01:31 -08:00
Corey Johnson & Nathan Sobo
8554df2346 Use .subscribe and .observeConfig in WrapGuide 2012-12-14 14:49:57 -08:00
Corey Johnson & Nathan Sobo
b822cd7779 View#subscribe subscribes to an event emitter 2012-12-14 14:40:51 -08:00
Corey Johnson & Nathan Sobo
528fae9466 Cleanup all subscriptions when a view is removed from the DOM 2012-12-14 14:29:20 -08:00
Corey Johnson & Nathan Sobo
085a5ea54f Upgrade space-pen 2012-12-14 14:27:28 -08:00
Corey Johnson & Nathan Sobo
55dc3e1cdf Merge branch 'master' into config
Conflicts:
	spec/app/project-spec.coffee
	src/extensions/wrap-guide/src/wrap-guide.coffee
2012-12-14 14:14:50 -08:00
Kevin Sawicki & Nathan Sobo
b91c353d2b Add View#observeConfig as a space-pen extension 2012-12-14 14:08:57 -08:00
Kevin Sawicki
0bb1442652 Clear loading message when setting error 2012-12-14 10:17:26 -08:00
Kevin Sawicki
9c5214edec Remove/ignore tags file and add rake task to generate 2012-12-14 09:14:22 -08:00