tags:

views:

42

answers:

1

I just started using Eclipse PHP.

I finally figured out how to turn on auto complete code assist.

My problem is that when I use require or include, those variables in those files aren't showing up.

Example,

code1.php

<? $test = 'hi'; ?>

code2.php

<? require('code1.php'); ?>

When I am editing code2.php, $test variable doesn't show up in auto complete (aka code assist)

A: 

The code completion is cached. Try to refresh the cache. Also make sure that both files are added to your current project.

TheGrandWazoo