wende / autocomplete-elixir

Intelligent Elixir autocompletion provider for Atom autocomplete-plus
MIT License
42 stars 11 forks source link

Getting this errors on Atom App #129

Open romenigld opened 6 years ago

romenigld commented 6 years ago

I'm getting these error on Atom app:

Uncaught TypeError: Cannot read property 'length' of undefined
/Users/romenigld/.atom/packages/autocomplete-elixir/lib/alchemide/doendmatcher.coffee:17
Hide Stack Trace
TypeError: Cannot read property 'length' of undefined
    at Object.module.exports.handleMatch (/Users/romenigld/.atom/packages/autocomplete-elixir/lib/alchemide/doendmatcher.coffee:17:35)
    at /Users/romenigld/.atom/packages/autocomplete-elixir/lib/autocomplete-elixir-client.coffee:21:23
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at TextEditor.module.exports.TextEditor.cursorMoved (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2188:33)
    at Selection.module.exports.Selection.markerDidChange (/Applications/Atom.app/Contents/Resources/app/src/selection.js:920:27)
    at /Applications/Atom.app/Contents/Resources/app/src/selection.js:41:30
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at DisplayMarker.module.exports.DisplayMarker.notifyObservers (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-marker.js:248:33)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-marker.js:53:32
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Marker.module.exports.Marker.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/marker.js:424:26)
    at Marker.module.exports.Marker.update (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/marker.js:365:18)
    at Marker.module.exports.Marker.setRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/marker.js:104:25)
    at DisplayMarker.module.exports.DisplayMarker.setBufferRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/display-marker.js:134:38)
    at /Applications/Atom.app/Contents/Resources/app/src/selection.js:107:30
    at Selection.module.exports.Selection.modifySelection (/Applications/Atom.app/Contents/Resources/app/src/selection.js:971:13)
    at Selection.module.exports.Selection.setBufferRange (/Applications/Atom.app/Contents/Resources/app/src/selection.js:100:25)
    at Selection.module.exports.Selection.selectAll (/Applications/Atom.app/Contents/Resources/app/src/selection.js:282:25)
    at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2396:32
    at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2544:19
    at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2621:24)
    at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2583:41)
    at TextEditor.module.exports.TextEditor.expandSelectionsForward (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2538:25)
    at TextEditor.module.exports.TextEditor.selectAll (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2395:25)
    at TextEditor.core:select-all (/Applications/Atom.app/Contents/Resources/app/src/register-default-commands.js:342:27)
    at HTMLElement.newCommandListeners.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/src/register-default-commands.js:658:38)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)
The error was thrown from the autocomplete-elixir package. You can help by creating an issue. Please explain what actions triggered this error.
Create issue on the autocomplete-elixir package

And I cannot write nothing on my file in Atom app, If I try to I get these errors. What I need to do?