Peekmo / atom-autocomplete-php

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

Bug - getStackClasses does not cope with comments when performing static access. #129

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello

Apparently getStackClasses doesn't cope very well with comments when static access is used, for example:

/*
 * This is a comment
 */
// This is another comment.
BarAlias::staticFunc();

When a variable such as $this is used, it works fine because the method stops on the dollar sign.

Thanks in advance