Peekmo / atom-autocomplete-php

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

plugin crash in atom editor while trying to write $object = $object->orderBy($order)->; #406

Open aravindSRM-India opened 4 years ago

aravindSRM-India commented 4 years ago

$object = $object->orderBy($order);

When I try to add '->' to extend query (i.e, $object->orderBy($order)->) plugin crashes with atom.

This behavior is strange and will not occur when I try to write '>' back array and then '-' to write '->'

System: Ubuntu 18.04, Platform: atom snap --classic version 1.40.1 Framework: Yii2 PHP version Details :

PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep  2 2019 12:54:24) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.9-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

This problem also occurs when I try to scroll that page.