This will probably be less confusing for developers experimenting with
changing the default location. Also, we avoid storing extra info we
don't really need.
Also, ensure that passing an item that is not yet present in the
workspace does not interfere with resolving the location where we want
to place the item.
This commit changes the behavior of `open()` so that the item will be
added to the workspace—even if the `activateItem` option is false.
This provides a way to open (and add) an item without activating it,
but removes the ability to open without adding. For that, we've made
the `createItemForURI()` method public 😊
This adds an method for hiding items by URI and re-implements
`toggle()` in terms of it. (tbh it's really just extracting most of
`toggle()` into a new function.)
* master: (43 commits)
If one arch fails, kill the other for perf on appveyor
⬆️ dalek@0.2.1
Revert "⬆️ all packages that use atom-select-list"
⬆️ atom-keymap
⬆️ status-bar
⬆️ all packages that use atom-select-list
⬆️language-ruby@0.71.0
⬆️autocomplete-css@0.16.1
Ensure `packagesCache` exists before accessing it
🎨⬆️ less-cache
Use `core/` instead of `<embedded>` for keymaps loaded during snapshot
Set also defaultSettings.core.projectHome when initializing Config
Fix tests
⬆️ atom-keymap
Replace CommandRegistry.addBundled with a boolean param in .add
Delete unused build scripts
🔥 Remove parserlib
Resolve style sheets paths during `script/build` for bundled packages
Don't use cached less sources and imported files in dev mode
...
Note: "clean window" is defined as 1) having an empty project and 2)
having no pane items or only empty unnamed buffers
When project is empty and there is saved state associated with the
opened/added folders...
* Open a file or folder (from command line or Open menu)
* If we have a clean window, restore project state in window
* If window is dirty, restore saved state in new window
Note: "clean window" is defined as 1) having an empty project and 2)
having no pane items or only empty unnamed buffers
Adding folder(s)
* If we have a clean window, restore project state in window
* If window is dirty, prompt user to
* add folder to the existing window LOSING state
* OR open project folder in a new window