Commit Graph

2778 Commits

Author SHA1 Message Date
Kevin Sawicki
da841b0ac6 Use consistent quotes in strip-trailing-whitespace 2012-12-19 08:48:21 -08:00
Kevin Sawicki
6d31946d31 Merge single-trailing-newline into strip-trailing-whitepsace
single-trailing-newline functionality is now available as a
config option on the strip-trailing-whitespace package
2012-12-19 08:45:44 -08:00
Kevin Sawicki
b937e0dfbd Remove unused require 2012-12-18 22:19:22 -08:00
Kevin Sawicki
9ab75fd09b Remove duplicate package 2012-12-18 22:16:17 -08:00
Kevin Sawicki
22d4c679f5 Move status-bar to packages folder 2012-12-18 22:09:02 -08:00
Kevin Sawicki
e14d61f799 Move single-trailing-newline extension to packages folder 2012-12-18 21:53:31 -08:00
Kevin Sawicki
1e5515555e Use command() instead of on() for document events
Allows commands such as 'open-user-configuration' to
appear and be invoked from the event palette

This was previously committed as 07a5672 but was merged
over when the config branch was merged into master.
2012-12-18 21:47:40 -08:00
Nathan Sobo
00b86ffac4 Merge branch 'master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:36:22 -07:00
Nathan Sobo
acc0503684 Merge remote-tracking branch 'origin/master' into config
Conflicts:
	src/app/keymap.coffee
	src/extensions/outline-view/src/keymap.coffee
	src/extensions/outline-view/src/tag-reader.coffee
	src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
	src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Nathan Sobo
4ce8583cb2 Rename extensions to packages
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00
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
Kevin Sawicki
2256962129 Support grammar fileTypes that contains more than extensions
The Git bundle registers fileTypes with multiple path segments
such as '.git/config'
2012-12-18 17:48:24 -08:00
Kevin Sawicki
2c4ba3d3b1 Ignore preferences with no scope 2012-12-18 16:44:20 -08:00
Kevin Sawicki
127174ebd0 Support uncommenting lines with leading whitespace 2012-12-18 15:52:23 -08:00
Kevin Sawicki
1b8e816d95 Support bundles that have a TM_COMMENT_END variable
The value of TM_COMMENT_END is now considered if present
in the bundle's preferences when commenting and uncommenting
selected lines
2012-12-18 15:52:23 -08:00
Nathan Sobo
cdc1fdf7d7 💄 for atom.coffee. Preparing the LZ for atom.loadBundle 2012-12-18 15:41:57 -07:00
Corey Johnson
8e4142aa8e Give EditSessions a chance to render before displaying alerts 2012-12-18 14:11:54 -08:00
Kevin Sawicki
175a74d2ec Support preferences registered via a comma-separated scope list 2012-12-18 10:54:26 -08:00
Kevin Sawicki
908e731694 Remove unneeded requireStylesheet
Stylesheet is already required in super class
2012-12-18 09:03:08 -08:00
Kevin Sawicki
586b149e81 Remove unused require 2012-12-18 08:59:51 -08:00
Kevin Sawicki
9823f5ba85 Add spec for busting the cache on window focus 2012-12-18 08:49:58 -08:00
Coby Chapple
dd8aff6e69 make cursor change to pointer when hovering over close tab icon 2012-12-18 15:46:38 +00:00
Kevin Sawicki
d7882711e4 Clear project paths when window gains focus 2012-12-17 22:43:40 -08: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
Kevin Sawicki
8afe4dbaef Add extension to keep or add a single trailing newline 2012-12-17 18:31:29 -08:00
Nathan Sobo
b82fe25b99 When observing a key path, compare its new & old values structurally 2012-12-17 19:00:47 -07:00
Kevin Sawicki
07a5672e20 Use command() instead of on() for document events
Allows commands such as 'open-user-configuration' to
appear and be invoked from the event palette
2012-12-17 17:59:37 -08:00
Nathan Sobo
a7d1a29748 Use config.get/set methods. config.update now takes no args. 2012-12-17 18:52:20 -07:00
Kevin Sawicki
a53537df20 Darken tab close icon color 2012-12-17 17:27:18 -08:00
Kevin Sawicki
ee0dbe4e66 Set tab font-size to 90% 2012-12-17 17:08:05 -08:00
Corey Johnson & Nathan Sobo
bc49be6c2c Move project.ignoredNames to config.core.ignoredNames 2012-12-17 16:54:09 -08:00
Kevin Sawicki
80b71582e0 Maintain cursor position when buffer is reloaded 2012-12-17 16:50:32 -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
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
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
Kevin Sawicki
e690f00994 Don't bubble up up/down events triggered on preview list 2012-12-17 14:08:46 -08:00
Kevin Sawicki
9e4325d8b2 Trim struct: prefix in display output 2012-12-17 11:25:55 -08:00
Kevin Sawicki
9ea2f56f6e Only expect prefix when there are 5 or more segments 2012-12-17 11:25:03 -08:00
Kevin Sawicki
39db08ed57 Support opening project outline view without open editor 2012-12-17 11:09:34 -08:00
Kevin Sawicki
b1e49f6dd5 Don't reuse buffer paths as project paths 2012-12-17 10:55:54 -08:00
Kevin Sawicki
5e1fd35ac0 Update event name in outline-view keymap 2012-12-17 10:37:01 -08:00