Atom IDE package that integrates the Serenata server to provide PHP code assistance
275
stars
22
forks
source link
Neither classname nor php built-in function hint in atom? and class member hint is also abnormal. #512
Closed
yanggs07 closed 3 years ago
Atom: 1.53.0 x64 php-ide-serenata version: 5.4.0 mac:10.15.7
class name hint fail
Suppose we have a Class Foo;
in another File:
when type "F" does not appear the hint of classes start with "F" such as Foo;
but when type Foo:: would appear hint of static function, static var and consts.
const hint fail
Foo::VAR_ would not hint Foo::VAR_BAR
built-in function hint fail
in_ would not hint in_array
opt+click built-in function would not get the docs of that
and this error in console occurs:
but i really set php path in the config of serenata
/usr/local/bin/php
yangguoshuai@C02Z56G4LVCF ~ /usr/local/bin/php -v PHP 7.4.11 (cli) (built: Oct 1 2020 23:30:54) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies yangguoshuai@C02Z56G4LVCF ~ php ^C ✘ yangguoshuai@C02Z56G4LVCF ~ php -v PHP 7.4.11 (cli) (built: Oct 1 2020 23:30:54) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies yangguoshuai@C02Z56G4LVCF ~