santip / move-panes Goto Github PK
View Code? Open in Web Editor NEWAtom package for moving tabs within panes
Home Page: https://atom.io/packages/move-panes
License: MIT License
Atom package for moving tabs within panes
Home Page: https://atom.io/packages/move-panes
License: MIT License
Use activationCommands
instead of activationEvents
in your package.json
Commands should be grouped by selector as follows:
"activationCommands": {
"atom-workspace": ["foo:bar", "foo:baz"],
"atom-text-editor": ["foo:quux"]
}
Package.getActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:733:20)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:185:24)
Package.measure (/usr/share/atom/resources/app.asar/src/package.js:163:15)
Package.load (/usr/share/atom/resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:355:14)
In keymaps/move-panes.cson: Use the atom-workspace
tag instead of the workspace
class.
If I currently have one pane and execute any move-pane action -- I get a stacktrace...
[Enter steps to reproduce below:]
Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: move-panes package, v0.2.0
Uncaught TypeError: Cannot read property '0' of undefined
At /Users/ncohen/.atom/packages/move-panes/lib/move-panes.coffee:31
TypeError: Cannot read property '0' of undefined
at Object.module.exports.move (/Users/ncohen/.atom/packages/move-panes/lib/move-panes.coffee:31:6)
at Object.module.exports.moveRight (/Users/ncohen/.atom/packages/move-panes/lib/move-panes.coffee:11:18)
at atom-workspace.atom.commands.add.move-panes:move-right (/Users/ncohen/.atom/packages/move-panes/lib/move-panes.coffee:4:70)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)
-9:01.7.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-9:01.7.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-8:45.4.0 core:move-left (atom-text-editor.editor.is-focused)
-8:43.9.0 core:move-right (atom-text-editor.editor.is-focused)
-8:43.3.0 nuclide-click-to-symbol:activate (atom-text-editor.editor.is-focused)
2x -8:43.1.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.is-focused)
-8:41.4.0 nuclide-click-to-symbol:activate (atom-text-editor.editor.is-focused)
-8:41.2.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.is-focused)
-8:38 nuclide-click-to-symbol:activate (atom-text-editor.editor.is-focused)
-8:36.2.0 core:save (atom-text-editor.editor.is-focused)
-0:58.6.0 core:close (atom-text-editor.editor)
-0:54.4.0 nuclide-click-to-symbol:activate (atom-text-editor.editor.is-focused)
-0:54.3.0 core:close (atom-text-editor.editor.is-focused)
-0:50.8.0 command-palette:toggle (div.settings-view.pane-item)
-0:32.7.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:32.7.0 core:cancel (atom-text-editor.editor.mini.is-focused)
{
"core": {
"disabledPackages": [
"symbols-view",
"show-in-system",
"atom-terminal",
"metrics",
"atom-ternjs",
"tree-view"
]
}
}
# User
atom-beautify, v0.28.6
atom-ctags, v4.1.4
atomatigit, v1.5.3
autocomplete-clang, v0.7.0
autocomplete-hack, v1.0.1
autocomplete-modules, v0.3.6
autocomplete-python, v0.5.0
linter, v1.0.4
linter-csslint, v0.0.13
linter-eslint, v1.0.8
linter-scss-lint, v1.0.4
move-panes, v0.2.0
nuclide-click-to-symbol, v0.0.21
nuclide-code-format, v0.0.21
nuclide-diff-view, v0.0.21
nuclide-file-tree, v0.0.21
nuclide-file-watcher, v0.0.21
nuclide-flow, v0.0.21
nuclide-hack, v0.0.21
nuclide-hg-repository, v0.0.21
nuclide-installer, v0.0.21
nuclide-language-hack, v0.0.21
nuclide-remote-projects, v0.0.21
nuclide-type-hint, v0.0.21
react, v0.12.0
symbols-tree-view, v0.9.3
# Dev
No dev packages
TypeError: Cannot read property 'command' of undefined
at Object.module.exports.activate (/Users/jaiken/.atom/packages/move-panes/lib/move-panes.coffee:4:23)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:770:25
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)
Atom deprecation cop says:
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please useatom.views.getView(atom.workspace)
,
which returns an HTMLElement.Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:53:11) Object.activate (/Users/keiter/.atom/packages/move-panes/lib/move-panes.coffee:4:9)
Atom Version: 1.11.0
Electron Version: 0.37.8
System: Mac OS X 10.12
Thrown From: move-panes package, v0.2.0
Uncaught TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:70
TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
at assertDisposable (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:70:13)
at CompositeDisposable.module.exports.CompositeDisposable.add (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:43:11)
at new CompositeDisposable (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:19:14)
at /Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:265:29
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at PaneContainer.module.exports.PaneContainer.addedPaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:388:27)
at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:372:28
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at Pane.module.exports.Pane.addItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:491:20)
at Object.module.exports.swapEditor (/Users/ming-liwang/.atom/packages/move-panes/lib/move-panes.coffee:40:12)
at Object.module.exports.move (/Users/ming-liwang/.atom/packages/move-panes/lib/move-panes.coffee:35:8)
at Object.module.exports.moveLeft (/Users/ming-liwang/.atom/packages/move-panes/lib/move-panes.coffee:12:17)
at atom-workspace.<anonymous> (/Users/ming-liwang/.atom/packages/move-panes/lib/move-panes.coffee:5:69)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:114:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-9:55.8.0 pane:split-right-and-copy-active-item (atom-text-editor.editor.is-focused)
-9:54.3.0 core:close (atom-text-editor.editor.is-focused)
-9:37.3.0 core:cut (atom-text-editor.editor.is-focused)
2x -9:36.7.0 core:save (atom-text-editor.editor.is-focused)
-9:34.7.0 core:backspace (atom-text-editor.editor.is-focused)
3x -9:34.3.0 core:save (atom-text-editor.editor.is-focused)
-9:05.6.0 core:close (atom-text-editor.editor.is-focused)
-3:31.3.0 find-and-replace:show (atom-text-editor.editor.is-focused)
-3:21.9.0 find-and-replace:find-next (atom-text-editor.editor.mini.is-focused)
-3:09.2.0 core:backspace (atom-text-editor.editor.is-focused)
3x -3:08.6.0 core:save (atom-text-editor.editor.is-focused)
-2:40.1.0 move-panes:move-left (atom-text-editor.editor.is-focused)
-2:37.4.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
-2:31.1.0 core:close (atom-text-editor.editor.is-focused)
-2:13.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.2.0 move-panes:move-left (atom-text-editor.editor.is-focused)
{
"core": {
"closeEmptyWindows": false,
"destroyEmptyPanes": false,
"disabledPackages": [
"metrics"
],
"telemetryConsent": "no",
"themes": [
"seti-ui",
"monokai-seti"
]
}
}
# User
atom-autocomplete-php, v0.19.4 (active)
atom-beautify, v0.29.13 (active)
emmet, v2.4.3 (active)
highlight-selected, v0.11.2 (active)
javascript-snippets, v1.2.1 (active)
minimap, v4.25.0 (active)
minimap-highlight-selected, v4.4.0 (active)
minimap-pigments, v0.2.1 (active)
monokai-seti, v0.7.0 (active)
move-panes, v0.2.0 (inactive)
pigments, v0.37.0 (active)
seti-syntax, v1.0.1 (inactive)
seti-ui, v1.3.2 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (inactive)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v1.0.0 (inactive)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)
# Dev
No dev packages
Store package style sheets in the styles/
directory instead of stylesheets/
in the move-panes
package
Package.getStylesheetsPath (/usr/share/atom/resources/app.asar/src/package.js:460:9)
Package.getStylesheetPaths (/usr/share/atom/resources/app.asar/src/package.js:471:32)
Package.loadStylesheets (/usr/share/atom/resources/app.asar/src/package.js:453:38)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:183:19)
Package.measure (/usr/share/atom/resources/app.asar/src/package.js:163:15)
Package.load (/usr/share/atom/resources/app.asar/src/package.js:177:12)
Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.1.2
) of this package:
styles/
directory instead of stylesheets/
in the <pack-name>
packageactivationCommands
instead of activationEvents
in your package.json Commands should be grouped by selector as follows: json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }
atom.views.getView(atom.workspace)
, which returns an HTMLElement.Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.
If this package has been replaced by another package or functionality in core, please reply with this information.
See atom/atom#6867 for more info. Thanks!
Atom Version: 0.207.0
System: Mac OS X 10.10.3
Thrown From: move-panes package, v0.1.2
Failed to activate the move-panes package
At Cannot read property 'command' of undefined
TypeError: Cannot read property 'command' of undefined
at Object.module.exports.activate (/Users/jeffsandberg/.atom/packages/move-panes/lib/move-panes.coffee:4:23)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:770:25
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:219:20)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)
-2:50 core:paste (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-2:49.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-2:48.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-2:48.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-2:48.1.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-2:47.6.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-2:47.6.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-2:47.3.0 application:new-file (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-0:19.8.0 pane:show-item-2 (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-0:17.7.0 core:select-all (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-0:17.3.0 core:cut (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-0:16.2.0 pane-layout:column-2 (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
-0:14.2.0 pane:show-item-2 (atom-pane.pane.active)
-0:11.6.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
-0:09.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:08.8.0 move-panes:move-right (ul.list-inline.tab-bar.inset-panel)
{
"core": {
"disabledPackages": [
"highlight-column",
"save-session",
"emacs-flow",
"autocomplete",
"feedback",
"deprecation-cop"
],
"themes": [
"quantum-ui",
"base16-tomorrow-dark-theme"
]
}
}
# User
Sublime-Style-Column-Selection, v1.3.0
aligner-css, v1.2.0
aligner-ruby, v1.4.0
atom-color-highlight, v3.0.9
atom-pair, v1.1.6
atomatigit, v1.5.3
autocomplete-emojis, v2.2.2
autocomplete-paths, v1.0.2
bezier-curve-editor, v0.7.2
color-picker, v2.0.4
column-select, v0.2.0
crosshairs, v0.1.2
editor-stats, v0.17.0
file-icons, v1.5.7
gist-it, v0.7.0
git-log, v0.4.1
git-tab-status, v1.9.2
highlight-line, v0.10.2
html-entities, v0.4.0
indentation-indicator, v0.5.1
language-fish-shell, v1.0.2
language-generic-config, v0.2.0
language-haml, v0.21.0
language-rspec, v0.3.0
language-slim, v0.4.0
linter, v0.12.6
linter-coffeelint, v0.3.1
linter-haml, v0.4.0
linter-js-yaml, v1.0.1
linter-jshint, v0.1.6
linter-rubocop, v0.2.7
linter-slim, v0.5.1
linter-xmllint, v0.0.6
minimap, v4.9.4
minimap-color-highlight, v4.1.4
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
move-panes, v0.1.2
pain-split, v1.4.0
pane-layout-plus, v0.7.2
project-manager, v1.15.10
project-palette-finder, v2.4.17
quantum-ui, v0.2.2
red-wavy-underline, v0.3.0
regex-railroad-diagram, v0.7.4
ruby-block, v0.3.3
set-syntax, v0.3.0
sloc, vundefined
symbols-tree-view, v0.9.3
tabs-to-spaces, v0.11.0
tree-view-finder, v0.2.1
tree-view-open-files, v0.2.4
underline-trailing-whitespace, v1.0.1
vim-mode, v0.51.0
vim-surround, v0.6.0
white-cursor, v0.6.0
# Dev
No dev packages
Uncaught TypeError: Cannot read property '0' of undefined
Atom Version: 0.159.0-e83784e
System: Mac OS X 10.9.5
Thrown From: move-panes package, v0.1.2
At /Users/ben/.atom/packages/move-panes/lib/move-panes.coffee:31
TypeError: Cannot read property '0' of undefined
at Object.module.exports.move (/Users/ben/.atom/packages/move-panes/lib/move-panes.coffee:31:6)
at Object.module.exports.moveLeft (/Users/ben/.atom/packages/move-panes/lib/move-panes.coffee:12:17)
at atom-workspace.<anonymous> (/Users/ben/.atom/packages/move-panes/lib/move-panes.coffee:5:60)
at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:167:20)
/cc @atom/core
The most convenient solution would be to simply create panes ad hoc.
Uncaught TypeError: Cannot read property '0' of undefined move-panes.coffee:31
module.exports.move move-panes.coffee:31
module.exports.moveRight move-panes.coffee:11
(anonymous function) move-panes.coffee:4
jQuery.event.dispatch /usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4676
elemData.handle /usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4361
module.exports.KeymapManager.dispatchCommandEvent /usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:400
module.exports.KeymapManager.handleKeyboardEvent /usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:181
(anonymous function) /usr/share/atom/resources/app/src/window-event-handler.js:90
jQuery.event.dispatch /usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4676
elemData.handle /usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4360
Atom Version: 0.186.0
System: Mac OS X 10.10.2
Thrown From: move-panes package, v0.1.2
Uncaught TypeError: Cannot read property 'getPanes' of undefined
At /Users/manisenkov/.atom/packages/move-panes/lib/move-panes.coffee:58
TypeError: Cannot read property 'getPanes' of undefined
at Object.module.exports.getRelativePane (/Users/manisenkov/.atom/packages/move-panes/lib/move-panes.coffee:58:33)
at Object.module.exports.move (/Users/manisenkov/.atom/packages/move-panes/lib/move-panes.coffee:33:17)
at Object.module.exports.moveLeft (/Users/manisenkov/.atom/packages/move-panes/lib/move-panes.coffee:12:17)
at atom-workspace.<anonymous> (/Users/manisenkov/.atom/packages/move-panes/lib/move-panes.coffee:5:60)
at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:182:20)
-0:52.3 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:52.3 core:cancel (atom-text-editor.editor.is-focused)
6x -0:40.0 core:close (atom-text-editor.editor.is-focused)
-0:17.4 tree-view:toggle (atom-text-editor.editor)
-0:10.4 window:focus-pane-on-left (atom-text-editor.editor)
-0:07.2 pane:split-left (atom-text-editor.editor.is-focused)
-0:04.7 pane:close (atom-text-editor.editor.is-focused)
-0:01.0 move-panes:move-left (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"seti-ui",
"seti-syntax"
]
}
}
# User
atom-lint, v0.20.1
editorconfig, v0.3.0
linter, v0.12.0
minimap, v4.5.0
move-panes, v0.1.2
project-manager, v1.15.5
seti-syntax, v0.3.3
seti-ui, v0.6.3
# Dev
No dev packages
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/jimm/.atom/packages/move-panes/lib/move-panes.coffee:4:9)
The default key binding are not working on windows and linux as there is no cmd
key is available. I'll create a pull request for that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.