Peekmo / atom-autocomplete-php

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

Autocomplete makes typings slow #317

Closed dala00 closed 7 years ago

dala00 commented 7 years ago

Typing becomes slow because of synced autocomplete.

Is there any problems to change like this? In my PC, this made faster.

    getSuggestions: ({editor, bufferPosition, scopeDescriptor, prefix}) ->
        new Promise (resolve) =>
            resolve(@fetchSuggestions({editor, bufferPosition, scopeDescriptor, prefix}))