Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Uncaught TypeError: undefined is not a function #232

Open sanatpanda3 opened 8 years ago

sanatpanda3 commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.187.0 System: linux 3.13.0-71-generic Thrown From: atom-autocomplete-php package, v0.18.7

Stack Trace

Uncaught TypeError: undefined is not a function

At /usr/share/atom/resources/app/src/pane.js:784

TypeError: undefined is not a function
    at ClassProvider.module.exports.ClassProvider.addMarkerToCommentLine (/home/sanat/.atom/packages/atom-autocomplete-php/lib/goto/class-provider.coffee:137:21)
    at ClassProvider.module.exports.ClassProvider.registerMarkers (/home/sanat/.atom/packages/atom-autocomplete-php/lib/goto/class-provider.coffee:86:30)
    at ClassProvider.module.exports.AbstractProvider.rescanMarkers (/home/sanat/.atom/packages/atom-autocomplete-php/lib/goto/abstract-provider.coffee:258:19)
    at /home/sanat/.atom/packages/atom-autocomplete-php/lib/goto/abstract-provider.coffee:39:26
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
    at TextBuffer.module.exports.TextBuffer.saveAs (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:974:20)
    at TextBuffer.module.exports.TextBuffer.save (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:958:19)
    at TextEditor.module.exports.TextEditor.save (/usr/share/atom/resources/app/src/text-editor.js:621:26)
    at Pane.module.exports.Pane.saveItem (/usr/share/atom/resources/app/src/pane.js:542:18)
    at Pane.module.exports.Pane.saveActiveItem (/usr/share/atom/resources/app/src/pane.js:525:19)
    at Workspace.module.exports.Workspace.saveActivePaneItem (/usr/share/atom/resources/app/src/workspace.js:689:35)
    at atom-workspace.atom.commands.add.core:save (/usr/share/atom/resources/app/src/workspace-element.js:295:30)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:246:29)
    at /usr/share/atom/resources/app/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)

Commands

     -31:19.7 core:paste (atom-text-editor.editor.mini)
     -31:19.3 core:confirm (atom-text-editor.editor.mini)
     -31:02.0 find-and-replace:show (atom-text-editor.editor)
 10x -31:00.1 core:confirm (atom-text-editor.editor.mini)
     -30:41.4 editor:consolidate-selections (atom-text-editor.editor.mini)
     -30:41.4 core:cancel (atom-text-editor.editor.mini)
     -30:39.7 core:copy (atom-text-editor.editor)
     -30:32.8 editor:newline (atom-text-editor.editor)
     -30:31.4 editor:delete-to-beginning-of-word (atom-text-editor.editor)
  2x -30:28.7 core:move-left (atom-text-editor.editor)
  2x -30:23.7 core:move-right (atom-text-editor.editor)
     -30:19.9 core:copy (atom-text-editor.editor)
     -30:19.3 core:save (atom-text-editor.editor)
     -30:05.0 editor:newline (atom-text-editor.editor)
     -30:04.8 core:paste (atom-text-editor.editor)
  2x -30:03.7 core:save (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ],
    "ignoredNames": [
      "*.pyc",
      ".git",
      ".hg",
      ".hgignore",
      ".gitignore",
      ".DS_Store",
      "*.pyc",
      "*.*~",
      ".svn"
    ],
    "projectHome": "/var/www/html/TantraProjects/"
  },
  "atom-autocomplete-php": {}
}

Installed Packages

# User
aligner-php, v1.0.0
atom-autocomplete-php, v0.18.7
atom-beautify, v0.28.22
atom-charcode, v0.4.0
auto-encoding, v0.5.2
autocomplete-css, v0.11.0
autocomplete-emojis, v2.2.2
autocomplete-html, v0.7.2
autocomplete-paths, v1.0.2
autocomplete-php, v0.3.6
autocomplete-phpunit, v1.0.0
autocomplete-plus, v2.7.1
autocomplete-plus-jedi, v0.0.9
autocomplete-python, v0.5.1
color-picker, v1.7.0
comment-block, v0.1.7
emmet, v2.4.1
filetype-color, v0.1.4
linter, v1.11.3
php-cs-fixer, v2.5.6

# Dev
No dev packages