Peekmo / atom-autocomplete-php

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

Uncaught TypeError: editor.getCursorBufferPosition is not a function #380

Open Gabb1995 opened 6 years ago

Gabb1995 commented 6 years ago

Tried doing the go to command from the preferences with nothing selected.

Atom: 1.25.0 x64 Electron: 1.7.11 OS: Ubuntu 17.10 Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught TypeError: editor.getCursorBufferPosition is not a function

At /home/gabriel/.atom/packages/atom-autocomplete-php/lib/goto/goto-manager.coffee:86

TypeError: editor.getCursorBufferPosition is not a function
    at GotoManager.module.exports.GotoManager.goto (/packages/atom-autocomplete-php/lib/goto/goto-manager.coffee:86:72)
    at /packages/atom-autocomplete-php/lib/goto/goto-manager.coffee:30:14)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:384:49)
    at Object.didConfirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:152:35)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:401:26)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:106:20)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:384:49)
    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.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:110:40)

Commands

     -0:45 intentions:highlight (input.hidden-input)
     -0:40 command-palette:toggle (input.hidden-input)
     -0:35.7.0 core:confirm (input.hidden-input)
     -0:35.6.0 atom-autocomplete-php:goto (input.hidden-input)
     -0:31.5.0 command-palette:toggle (input.hidden-input)
     -0:29.3.0 core:confirm (input.hidden-input)
     -0:29.3.0 atom-autocomplete-php:import-use-statement (input.hidden-input)
     -0:28.6.0 git-plus:fetch-all (atom-workspace.workspace.scrollbars-visible-always.theme-city-lights-syntax.theme-city-lights-ui)
     -0:21 intentions:highlight (input.hidden-input)
     -0:20.8.0 command-palette:toggle (input.hidden-input)
     -0:17.4.0 core:select-all (input.hidden-input)
  7x -0:16 core:backspace (input.hidden-input)
  9x -0:11.6.0 core:move-down (input.hidden-input)
     -0:06.9.0 core:move-up (input.hidden-input)
     -0:06.5.0 core:confirm (input.hidden-input)
     -0:06.5.0 atom-autocomplete-php:reindex-project (input.hidden-input)

Non-Core Packages

aligner 1.2.4 
aligner-css 1.2.1 
aligner-javascript 1.3.0 
aligner-php 1.2.0 
atom-autocomplete-php 0.25.6 
atom-ide-ui 0.9.4 
atom-symfony2 0.3.0 
atom-sync-cygwin 0.9.19 
better-git-blame 0.4.1 
busy-signal 1.4.3 
chester-atom-syntax 0.3.2 
chubrub 0.2.0 
city-lights-syntax 1.1.8 
city-lights-ui 1.3.3 
dirt-syntax 1.1.7 
dirt-ui 1.1.10 
docblockr 0.13.7 
file-icons 2.1.18 
git-plus 7.10.2 
highlight-selected 0.13.1 
intentions 1.1.5 
linter 2.2.0 
linter-php 1.5.1 
linter-phpcs 1.6.8 
linter-ui-default 1.7.1 
minimap 4.29.8 
minimap-git-diff 4.3.1 
minimap-linter 2.1.3 
mono-syntax 0.0.2 
mono-ui 0.0.1 
my-theme-syntax 0.0.0 
naturepurple-dark-syntax 0.1.1 
ninja-atom-syntax 0.1.2 
one-dark-pro-vivid-syntax 2.3.0 
one-dark-vivid-syntax 1.8.0 
pdf-view 0.67.0 
php-twig 4.0.0 
pigments 0.40.2 
pochinki-syntax 0.1.0 
project-manager 3.3.5 
sort-lines 0.18.0 
sync-settings 0.8.5