Skip to content

CodeIntel is not Working #690

Description

@Sugisakii
<?php 
class a
{
	public function hola()
	{
		print("HOLA");
	}
}
$s = new a
$s->
?>

codeintel.log
ERROR:codeintel.cpp:Consider setting library_path.
WARNING:codeintel.php:no PHP was found from which to determine the import path

Console

no PHP was found from which to determine the import path
INFO: eval 's' at index.php#11  <Trigger 'php-complete-object-members' at 123>
    INFO: _hit_from_citdl:: expr: 's', scoperef: (<Element 'scope' at 0x0000024A0621D368>, [])
    INFO: _hit_from_citdl:: expr tokens: ['s']
    INFO: _hits_from_first_part:: find 's ...' starting at (<Element 'scope' at 0x0000024A0621D368>, []):
    INFO: _hits_from_first_part:: scoperef now (<Element 'scope' at 0x0000024A0621D368>, []):
    INFO: _hits_from_first_part:: checking namespace aliases
    INFO: _hits_from_first_part:: pt3: is 's' accessible on (<Element 'scope' at 0x0000024A0621D368>, [])? no
    DEBUG: _hit_from_elem_imports:: Checking imports, tokens[0]: 's' ... imp_elem: <Element 'scope' at 0x0000024A0621D368>
    INFO: _hit_from_elem_imports:: trying import everything: tokens: ['s']
    INFO: _hit_from_elem_imports:: trying with lpath: ('s',)
    INFO: _hit_from_elem_imports:: ie: lookup ('s',) in <PHP curdirlib> => []
    INFO: _hit_from_elem_imports:: ie: lookup ('s',) in <PHP cataloglib: > => []
    INFO: _hit_from_elem_imports:: ie: lookup ('s',) in <php-7.0 stdlib> => []
    INFO: _hit_from_elem_imports:: ie: no matches found
    ERROR: evaluating 's' at index.php#11: could not resolve first part of 's'

anyone can help me up pls?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions