Giter Club home page Giter Club logo

layout-manager's People

Contributors

santip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

layout-manager's Issues

Uncaught TypeError: Cannot read property 'split' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.192.0
System: Mac OS X 10.10.2
Thrown From: layout-manager package, v0.2.3

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At /Users/gyo/Dropbox/Apps/dot_atom/packages/layout-manager/lib/layout-manager.coffee:79

TypeError: Cannot read property 'split' of undefined
  at Object.module.exports.getFlex (/Users/gyo/Dropbox/Apps/dot_atom/packages/layout-manager/lib/layout-manager.coffee:79:64)
  at Object.module.exports.shrink (/Users/gyo/Dropbox/Apps/dot_atom/packages/layout-manager/lib/layout-manager.coffee:26:13)
  at atom-workspace.<anonymous> (/Users/gyo/Dropbox/Apps/dot_atom/packages/layout-manager/lib/layout-manager.coffee:7:73)
  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:238: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:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:180:20)

Commands

  2x -0:16.4 blur (atom-text-editor.editor.vim-mode.command-mode)
     -0:15.4 pane:split-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:14.6 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:14.6 blur (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:12.7 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:12.7 core:cancel (atom-text-editor.editor.mini)
  3x -0:12.7 blur (atom-text-editor.editor.mini)
     -0:12.0 ruby-test:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)
 16x -0:11.4 vim-mode:move-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)
 14x -0:10.8 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:09.7 pane:split-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)
 26x -0:06.7 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)
 20x -0:04.9 vim-mode:move-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)
  5x -0:04.3 window:decrease-font-size (atom-text-editor.editor.vim-mode.command-mode.is-focused)
  6x -0:01.6 layout-manager:shrink-active-pane (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:00.0 vim-mode:reset-command-mode (atom-text-editor.editor.vim-mode.command-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "circle-ci",
      "emmet",
      "git-blame"
    ],
    "themes": [
      "atom-dark-ui",
      "base16-tomorrow-dark-theme"
    ]
  }
}

Installed Packages

# User
autocomplete-paths, v1.0.2
autocomplete-plus, v2.10.0
autocomplete-snippets, v1.2.0
bracket-matcher, v0.73.0
custom-title, v0.7.1
file-icons, v1.5.4
highlight-line, v0.10.1
highlight-selected, v0.9.1
language-rspec, v0.3.0
language-slim, v0.3.0
layout-manager, v0.2.3
project-manager, v1.15.5
rails-rspec, v0.3.1
rspec-snippets, v0.4.0
ruby-test, v0.9.5
tasks, v2.0.0
vim-mode, v0.43.0

# Dev
No dev packages

Uncaught TypeError: Cannot read property '0' of undefined

Uncaught TypeError: Cannot read property '0' of undefined

Atom Version: 0.156.0
System: Mac OS X 10.9.5
Thrown From: layout-manager package, v0.2.3

Steps To Reproduce

  1. ...
  2. ...

Stack Trace

At /Users/Jadam/.atom/packages/layout-manager/lib/layout-manager.coffee:49

TypeError: Cannot read property '0' of undefined
  at Object.module.exports.move (/Users/Jadam/.atom/packages/layout-manager/lib/layout-manager.coffee:49:6)
  at Object.module.exports.moveRight (/Users/Jadam/.atom/packages/layout-manager/lib/layout-manager.coffee:31:18)
  at atom-workspace.<anonymous> (/Users/Jadam/.atom/packages/layout-manager/lib/layout-manager.coffee:8:70)
  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

`layout-manager:maximize` in readme

screenshot 2014-04-18 11 30 46

The readme uses the command layout-manager:maximize but I think it means layout-manager:maximize-active-pane. Threw me for a loop, because my cmd-shift-enter is already occupied :)

Promote move pane to make pane when no pane present

Many times im in a single pane with multiple tabs and i need to begin the process of breaking out into multiple panes. it would be nice to have a hotkey to do that. Currently i CMD+K then arrow. Then i have to close the old clones file in the original pane. Maybe there is a built in way to do this but i haven't found it despite searching.

My suggested solution is to use the pane movement commands in Layout Manager to create the new pane on the fly and move the active tab to the new pane if one doesnt exist for the command executed and the tab is in a multiple tab pane. What do you think? Im happy to dig in but i was wondering if im missing something here.

Atom.Object.defineProperty.get is deprecated.

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:55:11)
Object.activate (/Users/Andrew/.atom/packages/layout-manager/lib/layout-manager.coffee:13:9)

Atom.Object.defineProperty.get is deprecated.

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:55:11)
Object.activate (/Users/Andrew/.atom/packages/layout-manager/lib/layout-manager.coffee:9:9)

Move pane down error, when there is no pane below (ie. first time executed)

After

image

I had the error

image

(btw that link is not working)

Full stack of error

ypeError: Cannot read property '0' of undefined
  at Object.module.exports.move (/Users/diniscruz/.atom/packages/layout-manager/lib/layout-manager.coffee:49:6)
  at Object.module.exports.moveDown (/Users/diniscruz/.atom/packages/layout-manager/lib/layout-manager.coffee:34:17)
  at atom-workspace.<anonymous> (/Users/diniscruz/.atom/packages/layout-manager/lib/layout-manager.coffee:10:69)
  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 CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:120:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/lib/select-list-view.js:336:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/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/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)

Only 2 of keybindings really work

Somehow after installation (tried reinstall too) I see only 2 keybindings in packages->layoutmanager. For maximise and enlarge pane. Others are not shown in dropdown menu and do not work. They do present in global keybinding list. Resolved this by adding user keybindings same as system ones.
image

alt+cmd+= doesn't work for settings page

here

image

Interestingly:

  • the alt+cmd+- works ok in the settings page (i.e. make it bigger)
  • on other editor windows the alt+cmd+ works ok (i.e. it only seems to happen on the Settings page)

Uncaught TypeError: Cannot read property 'getPanes' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.188.0
System: Mac OS X 10.10.2
Thrown From: layout-manager package, v0.2.3

Stack Trace

Uncaught TypeError: Cannot read property 'getPanes' of undefined

At /Users/stevenwake/.atom/packages/layout-manager/lib/layout-manager.coffee:76

TypeError: Cannot read property 'getPanes' of undefined
  at Object.module.exports.getRelativePane (/Users/stevenwake/.atom/packages/layout-manager/lib/layout-manager.coffee:76:33)
  at Object.module.exports.move (/Users/stevenwake/.atom/packages/layout-manager/lib/layout-manager.coffee:51:17)
  at Object.module.exports.moveLeft (/Users/stevenwake/.atom/packages/layout-manager/lib/layout-manager.coffee:32:17)
  at atom-workspace.<anonymous> (/Users/stevenwake/.atom/packages/layout-manager/lib/layout-manager.coffee:9:69)
  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:242: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:180:20)

Commands

  3x -1:22.6 core:undo (atom-text-editor.editor.is-focused)
 11x -1:19.9 layout-manager:enlarge-active-pane (atom-text-editor.editor.is-focused)
     -1:11.0 layout-manager:shrink-active-pane (atom-text-editor.editor.is-focused)
     -1:11.0 layout-manager:enlarge-active-pane (atom-text-editor.editor.is-focused)
     -1:10.8 layout-manager:shrink-active-pane (atom-text-editor.editor.is-focused)
     -1:10.6 layout-manager:enlarge-active-pane (atom-text-editor.editor.is-focused)
     -1:10.5 layout-manager:shrink-active-pane (atom-text-editor.editor.is-focused)
     -1:10.4 layout-manager:enlarge-active-pane (atom-text-editor.editor.is-focused)
     -1:10.3 layout-manager:shrink-active-pane (atom-text-editor.editor.is-focused)
  2x -1:10.1 layout-manager:enlarge-active-pane (atom-text-editor.editor.is-focused)
     -0:20.7 layout-manager:move-pane-left (atom-text-editor.editor)
     -0:20.0 layout-manager:move-pane-right (atom-text-editor.editor)
     -0:19.8 layout-manager:move-pane-left (atom-text-editor.editor)
     -0:19.7 layout-manager:move-pane-right (atom-text-editor.editor)
  2x -0:19.6 layout-manager:move-pane-left (atom-text-editor.editor)
     -0:00.7 layout-manager:move-pane-right (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
language-rspec, v0.3.0
layout-manager, v0.2.3
rspec, v0.1.9
rspec-snippets, v0.4.0

# Dev
No dev packages

Failed to activate the layout-manager package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.192.0 ⚠️ in 1.0 API Preview Mode ⚠️
System: Mac OS X 10.10.3
Thrown From: layout-manager package, v0.2.3

Stack Trace

Failed to activate the layout-manager package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/jessicakoch/.atom/packages/layout-manager/lib/layout-manager.coffee:8:25)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:222:19)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:203:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:147:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:195:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:434:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:418:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app/src/config.js:298:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:413:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:394:46)

Commands

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "peacock-syntax"
    ],
    "disabledPackages": [
      "linter"
    ]
  }
}

Installed Packages

# User
auto-indent, v0.1.0
jshint, v1.3.0
language-haml, v0.15.0
layout-manager, v0.2.3
peacock-syntax, v1.3.0
seti-ui, v0.6.1

# Dev
No dev packages

Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.2.3) of this package:

  1. Use activationCommands 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"] }
  2. Store package style sheets in the styles/ directory instead of stylesheets/ in the <pack-name> package
  3. 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.

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!

What is the "Command" key?

I am trying to use your plugin on KDE (Ubuntu) and am trying to figure out what the "command" key is supposed to be. Nothing seems to work. Please help me out. Thanks.

Atom.Object.defineProperty.get is deprecated.

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 (/usr/share/atom/resources/app/src/atom.js:53:11)
Object.activate (/home/itaibh/.atom/packages/layout-manager/lib/layout-manager.coffee:5:9)

Atom.Object.defineProperty.get is deprecated.

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:55:11)
Object.activate (/Users/Andrew/.atom/packages/layout-manager/lib/layout-manager.coffee:5:9)

Atom.Object.defineProperty.get is deprecated.

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:55:11)
Object.activate (/Users/Andrew/.atom/packages/layout-manager/lib/layout-manager.coffee:6:9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.