I created a "test" project to demonstrate the problem. I will clarify some exact details:
1. I create a new project of type "none"
2. I enter the following details:
Project Name: Test Project
Location: C:\Slickedit\projects\
3. I answer OK, and don't immediately add anything to the project.
4. In the Projects pane I right click on the Source Files folder and go to Folder Properties.
5. I add ;*.php to the filters to make sure that PHP files are added to the Source Files folder.
6. I Right Click on Test Project.vpj in the Projects pane. I select Add Files.
7. From the Add Files dialog box I select Add Tree.
8. I navigate to c:\path\sample project (This is where I have the sample files stored)
The directory structure is: file1.php, file2.php, lib\file3.php
file1.php calls three functions: test_func(), test_func2(), test_func3()
test_func() is defined in file1.php, test_func2() is defined in file2.php, test_func3() is defined in lib\file3.php
9. I click OK and the 3 files are added to the project under the Source Files folder
10. If I open file1.php and use Ctrl + Dot with test_func() selected it will find the function def within the file. However, if I use Ctrl + Dot with test_func2() or test_func3() selected, the error message displayed is:
"Tag 'test_func2' not found. You may want to rebuild the tag file.
Hopefully these details will assist you in telling me what I'm doing incorrectly. I'm doubtful that something so obvious is a bug in such a widely used program. The contents of the three files are as follows:
file1.php
test_func();
test_func2();
test_func3();
function test_func()
{
echo "func 1";
}
test2.php
//This is file 2!
function test_func2()
{
echo "test_func2";
}
lib/test3.php
//this is file 3
function test_func3()
{
echo "this is func3";
}