Coder Social home page Coder Social logo

hughsk / atom-define-jump Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 116 KB

Atom plugin to jump to the local declaration of a variable. Similar to Atom's built in Symbols view, but local to the current file and without the need for any configuration.

License: Other

JavaScript 100.00%

atom-define-jump's People

Contributors

hughsk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

georgreen

atom-define-jump's Issues

Failed to activate the define-jump package

  1. Fresh install of plugin
  2. Open php file with this content Illuminate\View\ViewServiceProvider::class (laravel 5.1)
  3. Run command on commande panel and .... Failed to activate the define-jump package

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: define-jump package, v1.0.1

Stack Trace

Failed to activate the define-jump package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.activate (/Users/steven/.atom/packages/define-jump/index.js:15:21)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772: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:222: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:241:29)

Commands

     -0:05.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:04.6.0 core:undo (atom-text-editor.editor.is-focused)
     -0:03.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.0 define-jump:to-original-definition (atom-text-editor.editor)

Config

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

Installed Packages

# User
Remote-FTP, v0.7.1
autocomplete-php, v0.3.6
csslint, v1.1.3
define-jump, v1.0.1
emmet, v2.3.11
highlight-line, v0.11.0
jslint, v1.4.0
language-blade, v0.14.0
language-docker, v1.1.3
language-smarty, v1.1.0
laravel, v0.7.0
linter-php, v0.0.15
peacock-syntax, v1.4.0
php-twig, v4.0.0
remote-edit, v1.8.4
seti-ui, v0.7.1

# Dev
No dev packages

Failed to activate the define-jump package

  1. open a ruby file
  2. go over some variable
  3. ctrl+alt+shift+m
  4. crash

Atom: 1.22.1 x64
Electron: 1.6.15
OS: Ubuntu 16.04.3
Thrown From: define-jump package 1.0.1

Stack Trace

Failed to activate the define-jump package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.activate (/packages/define-jump/index.js:15:21)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app/src/package.js:253:25)
    at /usr/share/atom/resources/app/src/package.js:984:31
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:353:24)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

Commands

     -0:02.1.0 define-jump:to-original-definition (input.hidden-input)

Non-Core Packages

atom-yamljson 0.2.4 
busy-signal 1.4.3 
define-jump 1.0.1 
intentions 1.1.5 
json-schema 0.1.15 
linter 2.2.0 
linter-js-yaml 1.2.8 
linter-ui-default 1.6.10 
pretty-json 1.6.4 

Cannot read property 'command' of undefined

  1. Go to declaration
  2. Try use the kaymap
'atom-workspace':
  'alt-g': 'define-jump:to-original-definition'

Atom Version: 1.0.0
System: Unknown Windows Version
Thrown From: define-jump package, v1.0.1

Stack Trace

Failed to activate the define-jump package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
  at Object.activate (...\.atom\packages\define-jump\index.js:15:21)
  at Package.module.exports.Package.activateNow (...\atom\app-1.0.0\resources\app.asar\src\package.js:240:19)
  at ...\atom\app-1.0.0\resources\app.asar\src\package.js:772:25
  at Emitter.module.exports.Emitter.emit (...\atom\app-1.0.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (...\atom\app-1.0.0\resources\app.asar\src\command-registry.js:222:20)
  at ...\atom\app-1.0.0\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (...\atom\app-1.0.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (...\atom\app-1.0.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
  at KeymapManager.module.exports.KeymapManager.terminatePendingState (...\atom\app-1.0.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:503:14)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (...\atom\app-1.0.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:393:21)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (...\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:180:20)

Commands

     -0:47.6.0 settings-view:open (atom-text-editor.editor.is-focused)
 22x -0:12.9.0 linter:set-bubble-transparent (atom-text-editor.editor.is-focused)
  2x -0:10.6.0 define-jump:to-original-definition (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
define-jump, v1.0.1
goto, vundefined
linter, v1.1.0
linter-php, v0.0.15
navigate, v0.1.6
symbol-gen, v1.0.0

# Dev
No dev packages

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.