Coder Social home page Coder Social logo

go-to-definition-rails's People

Contributors

oxyless avatar

Stargazers

 avatar  avatar

Watchers

 avatar

go-to-definition-rails's Issues

Uncaught SyntaxError: Invalid regular expression: /def\s role_type)/: Unmatched ')'

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Ubuntu 14.04.5
Thrown From: go-to-definition-rails package, v2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s role_type)/: Unmatched ')'

At /home/honestraj/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24

SyntaxError: Invalid regular expression: /def\s role_type)/: Unmatched ')'
    at RegExp (native)
    at Object.module.exports.GoToDefinitionRails.goToMethodDefinition (/home/honestraj/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:11)
    at atom-workspace.subscriptions.add.atom.commands.add.go-to-definition-rails:goToMethodDefinition (/home/honestraj/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/opt/atom/resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/opt/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -9:55.2.0 symbols-view:go-to-declaration (atom-text-editor.editor.is-focused)
     -9:07.0 atom-ctags:return-from-declaration (atom-text-editor.editor.is-focused)
     -8:57.7.0 symbols-view:go-to-declaration (atom-text-editor.editor.is-focused)
     -6:36 go-to-definition-rails:goToDefinition (atom-text-editor.editor.is-focused)
  2x -6:23.1.0 atom-ctags:rebuild (atom-text-editor.editor.is-focused)
  3x -6:12.2.0 symbols-view:go-to-declaration (atom-text-editor.editor.is-focused)
  5x -2:51.5.0 go-to-definition-rails:goToMethodDefinition (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "symbols-view"
    ]
  }
}

Installed Packages

# User
atom-ctags, v5.0.0 (active)
go-to-definition-rails, v2.2.0 (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.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (active)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (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.41.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)
find-and-replace, v0.201.0 (inactive)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (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)
notifications, v0.65.0 (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.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (active)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (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

Uncaught TypeError: Cannot read property 'search' of undefined

[Enter steps to reproduce:]

  1. Tried Option-Cmd-Enter on Mac

Atom: 1.39.1 x64
Electron: 3.1.10
OS: Mac OS X 10.15
Thrown From: go-to-definition-rails package 2.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'search' of undefined

At /Users/caffeinum/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:35

TypeError: Cannot read property 'search' of undefined
    at Object.goTo (/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:35:64)
    at Object.goToMethodDefinition (/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:6)
    at /packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:348736)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1248155)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1244289)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:283942)

Commands

     -1:12.1.0 core:undo (input.hidden-input)
     -1:10.5.0 editor:consolidate-selections (input.hidden-input)
     -1:10.5.0 core:cancel (input.hidden-input)
     -1:09.4.0 editor:consolidate-selections (input.hidden-input)
     -1:09.4.0 core:cancel (input.hidden-input)
     -1:06.4.0 core:move-down (input.hidden-input)
     -1:06.0 core:move-up (input.hidden-input)
     -1:05.6.0 core:confirm (input.hidden-input)
     -1:05.6.0 rails-finder:toggle-db (input.hidden-input)
     -1:04.5.0 core:paste (input.hidden-input)
     -1:03.4.0 editor:delete-to-beginning-of-line (input.hidden-input)
  6x -0:56.3.0 core:move-down (input.hidden-input)
     -0:54.9.0 editor:consolidate-selections (input.hidden-input)
     -0:54.9.0 core:cancel (input.hidden-input)
     -0:04.5.0 intentions:highlight (input.hidden-input)
     -0:03.3.0 go-to-definition-rails:goToMethodDefinition (input.hidden-input)

Non-Core Packages

busy-signal 2.0.1 
declarations 1.1.3 
declarations-js 1.0.2 
eslint-fixer 1.3.0 
go-to-definition-rails 2.2.0 
intentions 1.1.5 
lint 0.0.1 
linter 2.3.0 
linter-eslint 8.5.5 
linter-ui-default 1.7.1 
node-debug 0.1.7 
prettier-atom 0.57.2 
react 0.18.0 
teletype 0.13.4 
zentabs 0.8.9 

Uncaught SyntaxError: Invalid regular expression: /def\s find_advance_rental_rates(/: Unterminate...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0
System: Ubuntu 15.04
Thrown From: go-to-definition-rails package, v2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s find_advance_rental_rates(/: Unterminated group

At /home/hassam/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24

SyntaxError: Invalid regular expression: /def\s find_advance_rental_rates(/: Unterminated group
    at new RegExp (native)
    at RegExp (native)
    at Object.module.exports.GoToDefinitionRails.goToMethodDefinition (/home/hassam/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:11)
    at atom-workspace.subscriptions.add.atom.commands.add.go-to-definition-rails:goToMethodDefinition (/home/hassam/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/atom/resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/opt/atom/resources/app.asar/src/atom-environment.js:1100:28)
    at EventEmitter.outerCallback (/opt/atom/resources/app.asar/src/application-delegate.js:327:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)

Commands

 89x -0:39.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:32 symbols-view:toggle-file-symbols (atom-text-editor.editor.is-focused)
     -0:29.5.0 find-and-replace:show (atom-text-editor.editor.mini.is-focused)
  3x -0:25.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:12.8.0 go-to-definition-rails:goToMethodDefinition (atom-text-editor.editor.is-focused)
     -0:09.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:09.1.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:01.5.0 go-to-definition-rails:goToMethodDefinition (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "whitespace"
    ]
  }
}

Installed Packages

# User
go-to-definition-rails, v2.2.0

# Dev
No dev packages

Uncaught SyntaxError: Invalid regular expression: /def\s last_scheduled_at)./: Unmatched ')'

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.4
System: Mac OS X 10.11.4
Thrown From: go-to-definition-rails package, v2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s last_scheduled_at)./: Unmatched ')'

At /Users/zhivko/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24

SyntaxError: Invalid regular expression: /def\s last_scheduled_at)./: Unmatched ')'
    at new RegExp (native)
    at RegExp (native)
    at Object.module.exports.GoToDefinitionRails.goToMethodDefinition (/Users/zhivko/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:11)
    at atom-workspace.subscriptions.add.atom.commands.add.go-to-definition-rails:goToMethodDefinition (/Users/zhivko/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    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:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:48.1.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:47.4.0 core:save (atom-text-editor.editor.is-focused)
     -0:38.8.0 rails-transporter:open-model (atom-text-editor.editor.is-focused)
     -0:38.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:38.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:36.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:36.3.0 core:save (atom-text-editor.editor.is-focused)
  7x -0:31.3.0 rails-rspec:toggle-spec-file (atom-text-editor.editor.is-focused)
     -0:26.5.0 term3:open (atom-text-editor.editor.is-focused)
     -0:21.5.0 ruby-test:test-file (atom-text-editor.editor.is-focused)
  4x -0:19.2.0 rails-rspec:toggle-spec-file (atom-text-editor.editor.is-focused)
  6x -0:14.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:13.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:13 core:move-down (atom-text-editor.editor.is-focused)
  2x -0:12.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:01.1.0 go-to-definition-rails:goToMethodDefinition (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "excludeVcsIgnoredPaths": true,
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      ".codekit-cache",
      "bower_components",
      "node_modules"
    ],
    "packagesWithKeymapsDisabled": [
      "emmet"
    ]
  }
}

Installed Packages

# User
atom-alignment, v0.12.1
atom-beautify, v0.29.7
atom-ember-author-kit, v0.6.6
auto-detect-indentation, v1.0.0
autocomplete-ctags, v0.4.1
autocomplete-paths, v1.0.2
color-picker, v2.1.1
cucumber, v0.5.0
cucumber-autocomplete, v0.6.3
emmet, v2.4.3
file-icons, v1.7.7
go-to-definition-rails, v2.2.0
jsformat, v0.9.3
language-blade, v0.24.1
language-ember-htmlbars, v0.3.0
language-ember-script, v0.2.0
language-haml, v0.24.0
language-nginx, v0.6.1
language-ruby, v0.68.5
language-viml, v0.3.0
linter, v1.11.4
linter-erb, v1.0.2
linter-handlebars, v2.3.4
linter-jshint, v2.1.0
linter-rubocop, v0.4.7
markdown-preview-plus, v2.4.0
merge-conflicts, v1.4.3
rails-finder, v0.7.0
rails-i18n-autocomplete, v0.3.0
rails-rspec, v0.3.2
rails-transporter, v1.6.5
ruby-block, v0.3.5
ruby-test, v0.9.17
smart-daemon-control, v0.8.6
sync-settings, v0.7.2
tab-control, v0.6.9
tabs-to-spaces, v1.0.2
term3, v0.22.0
trailing-spaces, v0.3.2

# Dev
No dev packages

Uncaught SyntaxError: Invalid regular expression: /def\s create_conf_csv(@/: Unterminated group

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.14.4 x64
Electron: 1.3.13
OS: Ubuntu 16.10
Thrown From: go-to-definition-rails package 2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s create_conf_csv(@/: Unterminated group

At /home/jonty/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24

SyntaxError: Invalid regular expression: /def\s create_conf_csv(@/: Unterminated group
    at RegExp (native)
    at Object.goToMethodDefinition (/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:11)
    at /packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -0:20.8.0 go-to-definition-rails:goToMethodDefinition (input.hidden-input)

Non-Core Packages

blocky 0.10.0 
git-plus 7.0.7 
git-time-machine 1.5.6 
go-to-definition-rails 2.2.0 
linter-spell-ruby 0.3.1 
minimap 4.25.7 

is it that the ( needs escaping?

Uncaught TypeError: Cannot read property 'getWordUnderCursor' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.11.2
Electron Version: 0.37.8
System: Ubuntu 16.04.1
Thrown From: go-to-definition-rails package, v2.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'getWordUnderCursor' of undefined

At /home/waqas/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:23

TypeError: Cannot read property 'getWordUnderCursor' of undefined
    at Object.module.exports.GoToDefinitionRails.goToMethodDefinition (/home/waqas/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:23:26)
    at atom-workspace.subscriptions.add.atom.commands.add.go-to-definition-rails:goToMethodDefinition (/home/waqas/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app.asar/src/atom-environment.js:1127:28)
    at EventEmitter.outerCallback (/usr/share/atom/resources/app.asar/src/application-delegate.js:341:25)
    at emitTwo (events.js:100:13)
    at EventEmitter.emit (events.js:185:7)

Commands

     -0:00.1.0 go-to-definition-rails:goToMethodDefinition (atom-pane.pane.active)

Config

{
  "core": {
    "telemetryConsent": "no",
    "themes": [
      "seti-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
gaia-dark-syntax, v1.0.0 (inactive)
go-to-definition-rails, v2.2.0 (inactive)
go-to-view, v0.3.0 (active)
language-haml, v0.24.0 (active)
linter, v1.11.18 (active)
linter-erb, v1.0.2 (active)
linter-js-tenx, v4.0.1 (active)
linter-js-yaml, v1.2.5 (active)
linter-sass-lint, v1.7.1 (active)
linter-spell-html, v0.6.0 (inactive)
linter-spell-ruby, v0.3.0 (inactive)
rails-partials, v0.9.2 (inactive)
ror-refactor, v0.3.0 (inactive)
seti-icons, v1.3.4 (active)
seti-ui, v1.3.2 (active)
atom-dark-syntax, v0.27.0 (active)
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 (inactive)
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 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (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

Uncaught SyntaxError: Invalid regular expression: /def\s (build_organization_condition/: Untermin...

Steps to reproduce:

  1. Selected text for method invocation (build_organization_condition) from controller
  2. On Top Menu, clicked Packages => Rails => Go To Method Definition.

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: go-to-definition-rails package 2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s (build_organization_condition/: Unterminated group

At /home/mudit/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24

SyntaxError: Invalid regular expression: /def\s (build_organization_condition/: Unterminated group
    at RegExp (native)
    at Object.goToMethodDefinition (/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:24:11)
    at /packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:13:111)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1162:28)
    at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:312:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -5:40 symbols-view:go-to-declaration (span.syntax--meta.syntax--rails.syntax--controller)
     -5:16.5.0 rails-transporter:open-view-finder (input.hidden-input)
     -4:59.7.0 settings-view:install-packages-and-themes (input.hidden-input)
  3x -4:53.4.0 core:backspace (input.hidden-input)
     -4:51.1.0 core:confirm (input.hidden-input)
     -2:03.1.0 go-to-definition-rails:goToMethodDefinition (input.hidden-input)
     -1:53.1.0 go-to-definition-rails:goToDefinition (span.syntax--meta.syntax--rails.syntax--controller)
     -1:44 symbols-view:go-to-declaration (span.syntax--meta.syntax--rails.syntax--controller)
     -0:47.1.0 go-to-definition-rails:goToDefinition (div.line)
     -0:40.9.0 go-to-definition-rails:goToMethodDefinition (input.hidden-input)
     -0:13.6.0 core:cancel (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -0:11.6.0 editor:consolidate-selections (input.hidden-input)
     -0:11.6.0 core:cancel (input.hidden-input)
  4x -0:09.9.0 core:move-right (input.hidden-input)
 28x -0:08.6.0 core:select-left (input.hidden-input)
     -0:02.2.0 go-to-definition-rails:goToMethodDefinition (input.hidden-input)

Non-Core Packages

atom-clock 0.1.6 
atom-material-syntax 1.0.2 
atom-material-ui 1.3.9 
go-to-definition-rails 2.2.0 
go-to-view 0.3.0 
html2haml 0.10.0 
language-haml 0.24.1 
language-slim 0.5.0 
merge-conflicts 1.4.4 
qolor 0.4.1 
rails-finder 0.7.0 
rails-partials 0.9.2 
rails-transporter 1.6.5 
ror-refactor 0.3.1 
ruby-block 0.3.6 
ruby-block-converter 3.5.0 
ruby-slim 0.2.0 
ruby-syntax-replacer 0.5.1 
slim-language 2.2.0 

Plugin no longer working?

This stopped working for me recently. It no longer goes to the definition but just to the top of the file where the method is defined. I'm on Atom 1.28.2

Uncaught SyntaxError: Invalid regular expression: /def\s (self\.)accessible_by(/: Unterminated group

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: go-to-definition-rails package, v2.2.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /def\s (self.)accessible_by(/: Unterminated group

At /Users/gajendrajena/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:30

SyntaxError: Invalid regular expression: /def\s (self\.)accessible_by(/: Unterminated group
    at new RegExp (native)
    at RegExp (native)
    at Object.module.exports.GoToDefinitionRails.goToClassMethodDefinition (/Users/gajendrajena/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:30:11)
    at atom-workspace.subscriptions.add.atom.commands.add.go-to-definition-rails:goToClassMethodDefinition (/Users/gajendrajena/.atom/packages/go-to-definition-rails/lib/go-to-definition-rails.coffee:14:116)
    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:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -3:45.1.0 core:delete (atom-text-editor.editor.is-focused)
     -3:44.4.0 core:save (atom-text-editor.editor.is-focused)
     -3:12.6.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:11.8.0 core:move-right (atom-text-editor.editor.is-focused)
     -3:11 core:move-left (atom-text-editor.editor.is-focused)
     -1:31.9.0 core:cut (atom-text-editor.editor.is-focused)
 13x -1:31.5.0 core:move-left (atom-text-editor.editor.is-focused)
     -1:29.8.0 core:paste (atom-text-editor.editor.is-focused)
  3x -1:29.3.0 core:save (atom-text-editor.editor.is-focused)
 31x -1:09.8.0 core:select-left (atom-text-editor.editor.is-focused)
  4x -1:08.1.0 core:select-right (atom-text-editor.editor.is-focused)
     -0:53.6.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:44.5.0 editor:move-to-first-character-of-line (atom-text-editor.editor.mini.is-focused)
     -0:39.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:11.2.0 core:close (div.panels)
  2x -0:02.7.0 go-to-definition-rails:goToClassMethodDefinition (atom-text-editor.editor.is-focused)

Config

{}

Installed Packages

# User
go-to-definition-rails, v2.2.0
language-haml, v0.24.0
linter, v1.11.14
linter-haml, v1.2.1
ruby-test, v0.9.17
tabs-to-spaces, v1.0.2

# 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.