Peekmo / atom-autocomplete-php

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

Uncaught TypeError: Cannot read property 'fillCommentUser' of undefined #266

Closed ahmetertem closed 8 years ago

ahmetertem commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Microsoft Windows 10 Enterprise N Thrown From: atom-autocomplete-php package, v0.18.9

Stack Trace

Uncaught TypeError: Cannot read property 'fillCommentUser' of undefined

At /C:/Users/AMAD/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:617

TypeError: Cannot read property 'fillCommentUser' of undefined
    at Object.module.exports.getMemberContext (file:///C:/Users/AMAD/.atom/packages/atom-autocomplete-php/lib/services/php-file-parser.coffee:686:32)
    at FunctionProvider.module.exports.FunctionProvider.getTooltipForWord (file:///C:/Users/AMAD/.atom/packages/atom-autocomplete-php/lib/tooltip/function-provider.coffee:18:25)
    at FunctionProvider.module.exports.AbstractProvider.showPopoverFor (file:///C:/Users/AMAD/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:109:24)
    at HTMLSpanElement.<anonymous> (file:///C:/Users/AMAD/.atom/packages/atom-autocomplete-php/lib/tooltip/abstract-provider.coffee:78:22)
    at HTMLDivElement.jQuery.event.dispatch (C:\Users\AMAD\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (C:\Users\AMAD\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -1:26.8.0 core:copy (atom-text-editor.editor.is-focused)
     -1:26.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -1:26 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
     -1:26 editor:newline (atom-text-editor.editor.is-focused)
     -1:25.2.0 core:paste (atom-text-editor.editor.is-focused)
     -1:25 core:save (atom-text-editor.editor.is-focused)
     -1:03.7.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -1:02.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:45.6.0 core:copy (atom-text-editor.editor.is-focused)
     -0:45.4.0 core:paste (atom-text-editor.editor.is-focused)
     -0:39.9.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused.autocomplete-active)
  3x -0:39.4.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:38.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:29.9.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:29.5.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -0:29.3.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "project-plus",
      "remote-atom"
    ],
    "openEmptyEditorOnStart": false,
    "packagesWithKeymapsDisabled": []
  },
  "atom-autocomplete-php": {
    "binComposer": "C:\\xampp\\php\\composer.phar"
  }
}

Installed Packages

# User
atom-autocomplete-php, v0.18.9
atom-beautify, v0.29.7
autocomplete-clang, v0.9.3
build, v0.64.0
busy, v0.5.0
emmet, v2.4.3
file-icons, v1.7.14
language-arduino, v0.4.1
language-ini, v1.16.0
linter, v1.11.5
linter-gcc, v0.6.14
merge-conflicts, v1.4.4
minimap, v4.24.4
minimap-pigments, v0.2.1
php-cs-fixer, v2.5.6
php-twig, v4.0.0
pigments, v0.29.2
platformio-ide, v1.2.2
platformio-ide-terminal, v2.0.10
project-manager, v2.9.7
Remote-FTP, v0.8.3
Sublime-Style-Column-Selection, v1.5.1
sync-settings, v0.7.2
tool-bar, v0.4.0

# Dev
No dev packages